summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2013-01-19 22:12:57 +0000
committerandrew <andrew@FreeBSD.org>2013-01-19 22:12:57 +0000
commit000e41994b8cdb9cdade4765367a3ed0edf9e528 (patch)
tree2fbdcc208b225375e7b750795328f0299d61fa32
parent3d71dcf315f0eb0c363219aa04d2227cb3a3a8c7 (diff)
downloadFreeBSD-src-000e41994b8cdb9cdade4765367a3ed0edf9e528.zip
FreeBSD-src-000e41994b8cdb9cdade4765367a3ed0edf9e528.tar.gz
Link against compiler-rt to pull in the required __aeabi_* functions
-rw-r--r--sys/boot/arm/uboot/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/boot/arm/uboot/Makefile b/sys/boot/arm/uboot/Makefile
index 1974218..c3c4bd8 100644
--- a/sys/boot/arm/uboot/Makefile
+++ b/sys/boot/arm/uboot/Makefile
@@ -112,8 +112,8 @@ CFLAGS+= -I${.CURDIR}/../../../../lib/libstand/
# clang doesn't understand %D as a specifier to printf
NO_WERROR.clang=
-DPADD= ${LIBFICL} ${LIBUBOOT} ${LIBFDT} ${LIBSTAND}
-LDADD= ${LIBFICL} ${LIBUBOOT} ${LIBFDT} -lstand
+DPADD= ${LIBFICL} ${LIBUBOOT} ${LIBFDT} ${LIBSTAND} ${LIBGCC}
+LDADD= ${LIBFICL} ${LIBUBOOT} ${LIBFDT} -lstand -lgcc
vers.c: ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version
sh ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT}
OpenPOWER on IntegriCloud