diff options
author | Loïc Minier <lool@dooz.org> | 2010-01-31 12:23:45 +0100 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-02-06 22:22:30 +0100 |
commit | 79427693174a553d62f3da44aacd3f19ba8df3a7 (patch) | |
tree | 86090fc437d8d891bb570f4d26c45047078d083d /configure | |
parent | 845f2c2812d9ed24b36c02a3d06ee83aeafe8b49 (diff) | |
download | qemu-79427693174a553d62f3da44aacd3f19ba8df3a7.zip qemu-79427693174a553d62f3da44aacd3f19ba8df3a7.tar.gz qemu-79427693174a553d62f3da44aacd3f19ba8df3a7.tar.bz2 |
Add -static earlier to LDFLAGS for compile_prog()
Add -static to LDFLAGS earlier as to run the compile_prog() tests with
this flags, this will avoid turning on features for which a shared
library is available but not a static one.
Signed-off-by: Loïc Minier <lool@dooz.org>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -488,7 +488,9 @@ for opt do ;; --enable-gprof) gprof="yes" ;; - --static) static="yes" + --static) + static="yes" + LDFLAGS="-static $LDFLAGS" ;; --sysconfdir) sysconfdir="$optarg" ;; @@ -2025,7 +2027,6 @@ if test "$solaris" = "yes" ; then fi if test "$static" = "yes" ; then echo "CONFIG_STATIC=y" >> $config_host_mak - LDFLAGS="-static $LDFLAGS" fi if test $profiler = "yes" ; then echo "CONFIG_PROFILER=y" >> $config_host_mak |