mirror of
https://git.proxmox.com/git/qemu
synced 2025-08-08 13:07:01 +00:00
Move libsunpath to use the same style than everything else
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Message-Id:
This commit is contained in:
parent
f622d8a33d
commit
f14bfdf952
@ -24,13 +24,6 @@ translate.o: QEMU_CFLAGS += $(call cc-option, $(QEMU_CFLAGS), -fno-unit-at-a-tim
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
LIBS+=-lm
|
LIBS+=-lm
|
||||||
ifdef CONFIG_SOLARIS
|
|
||||||
ifdef CONFIG_NEEDS_LIBSUNMATH
|
|
||||||
LIBS+=-lsunmath
|
|
||||||
LDFLAGS+=-L/opt/SUNWspro/prod/lib -R/opt/SUNWspro/prod/lib
|
|
||||||
QEMU_CFLAGS+=-I/opt/SUNWspro/prod/include/cc
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
|
|
||||||
kvm.o kvm-all.o: QEMU_CFLAGS+=$(KVM_CFLAGS)
|
kvm.o kvm-all.o: QEMU_CFLAGS+=$(KVM_CFLAGS)
|
||||||
|
|
||||||
|
3
configure
vendored
3
configure
vendored
@ -309,6 +309,9 @@ SunOS)
|
|||||||
if test "$solarisrev" -le 9 ; then
|
if test "$solarisrev" -le 9 ; then
|
||||||
if test -f /opt/SUNWspro/prod/lib/libsunmath.so.1; then
|
if test -f /opt/SUNWspro/prod/lib/libsunmath.so.1; then
|
||||||
needs_libsunmath="yes"
|
needs_libsunmath="yes"
|
||||||
|
QEMU_CFLAGS="-I/opt/SUNWspro/prod/include/cc $QEMU_CFLAGS"
|
||||||
|
LDFLAGS="-L/opt/SUNWspro/prod/lib -R/opt/SUNWspro/prod/lib $LDFLAGS"
|
||||||
|
LIBS="-lsunmath $LIBS"
|
||||||
else
|
else
|
||||||
echo "QEMU will not link correctly on Solaris 8/X86 or 9/x86 without"
|
echo "QEMU will not link correctly on Solaris 8/X86 or 9/x86 without"
|
||||||
echo "libsunmath from the Sun Studio compilers tools, due to a lack of"
|
echo "libsunmath from the Sun Studio compilers tools, due to a lack of"
|
||||||
|
Loading…
Reference in New Issue
Block a user