Skip to content

Commit

Permalink
OS-1658 kvm-cmd should build with -zassert-deflib
Browse files Browse the repository at this point in the history
  • Loading branch information
rmustacc committed Oct 23, 2012
1 parent 6d85df9 commit 13dfaeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile.joyent
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 13dfaeb

Please sign in to comment.