diff options
author | Robert Mustacchi <rm@joyent.com> | 2012-10-23 21:56:54 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2012-10-23 21:56:54 +0000 |
commit | 13dfaebd3210f7ec17f040db63ed2bc09ab7f6e6 (patch) | |
tree | 981009dfb5e2e6ddc14f15c13f4c1bb05d7be1a9 | |
parent | 6d85df9c5991c26ead6195ef6eed31e604b14db5 (diff) | |
download | illumos-kvm-cmd-13dfaebd3210f7ec17f040db63ed2bc09ab7f6e6.tar.gz |
-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 \ |