Browse files

OS-1658 kvm-cmd should build with -zassert-deflib

  • Loading branch information...
1 parent 6d85df9 commit 13dfaebd3210f7ec17f040db63ed2bc09ab7f6e6 @rmustacc rmustacc committed Oct 23, 2012
Showing with 2 additions and 1 deletion.
  1. +1 −1 Makefile.joyent
  2. +1 −0 build.sh
View
2 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
View
1 build.sh
@@ -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 \

0 comments on commit 13dfaeb

Please sign in to comment.