diff options
-rw-r--r-- | Makefile.joyent | 2 | ||||
-rwxr-xr-x | build.sh | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.joyent b/Makefile.joyent index 46c4b1c..006f82c 100644 --- a/Makefile.joyent +++ b/Makefile.joyent @@ -113,7 +113,7 @@ install: world clean: gmake clean - rm -f qemu.so + rm -f qemu.so config-host.mak xref: find . -type f -name '*.[ch]' > cscope.files @@ -38,6 +38,7 @@ KVM_DIR="${KVM_DIR:-$(cd `pwd`/../kvm; pwd)}" CC="${CC:-${DESTDIR}/usr/bin/gcc}" XCFLAGS="-fno-builtin -I${PNGINC} -isystem ${DESTDIR}/usr/include" XLDFLAGS="-nodefaultlibs -L${PNGLIB} -L${DESTDIR}/usr/lib -L${DESTDIR}/lib" +XLDFLAGS="${XLDFLAGS} -Wl,-zfatal-warnings -Wl,-zassert-deflib" XLDFLAGS="${XLDFLAGS} -lz -lm -lc" ./configure \ --cc=$CC \ |