diff options
author | Robert Mustacchi <rm@joyent.com> | 2012-03-06 23:45:11 +0000 |
---|---|---|
committer | Robert Mustacchi <rm@joyent.com> | 2012-03-06 23:45:11 +0000 |
commit | 099e212e968550ab97f7ba3431e55d9c16a0c78d (patch) | |
tree | 60cce91e31627b1dc9b619a86319bddf4136bd83 | |
parent | ce49e6b3932f15d4fcd24eb7cd7e0379ea371583 (diff) | |
download | illumos-kvm-cmd-099e212e968550ab97f7ba3431e55d9c16a0c78d.tar.gz |
HVM-720 kvm-cmd should build with gcc 4.4.4
-rwxr-xr-x | build.sh | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -31,11 +31,11 @@ fi echo "==> Running configure" KVM_DIR="${KVM_DIR:-$(cd `pwd`/../kvm; pwd)}" -CC="${CC:-/usr/sfw/bin/gcc}" +CC="${CC:-/opt/gcc/4.4.4/bin/gcc}" ./configure \ - --cc=$CC \ - --extra-cflags="-I${PNGDIR}/proto/usr/local/include" \ - --extra-ldflags="-L${PNGDIR}/proto/usr/local/lib -lz -lm" \ + --cc=$CC \ + --extra-cflags="-fno-builtin -nodefaultlibs -I${PNGDIR}/proto/usr/local/include" \ + --extra-ldflags="-L${PNGDIR}/proto/usr/local/lib -lz -lm -lc" \ --prefix=/smartdc \ --audio-card-list= \ --audio-drv-list= \ |