summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJuan Quintela2009-08-03 14:47:11 +0200
committerAnthony Liguori2009-08-10 20:05:48 +0200
commitf14bfdf95283fc6401a4f701140838b91511f499 (patch)
treed7b6e7e2744b8d83b9e55b6903804ece68c0aed5 /configure
parentconvert gprof flags to style of rest of Makefile (diff)
downloadqemu-f14bfdf95283fc6401a4f701140838b91511f499.tar.gz
qemu-f14bfdf95283fc6401a4f701140838b91511f499.tar.xz
qemu-f14bfdf95283fc6401a4f701140838b91511f499.zip
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:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index 6349d2e0f1..834d88ed82 100755
--- a/configure
+++ b/configure
@@ -309,6 +309,9 @@ SunOS)
if test "$solarisrev" -le 9 ; then
if test -f /opt/SUNWspro/prod/lib/libsunmath.so.1; then
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
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"