summary refs log tree commit diff
diff options
context:
space:
mode:
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index cd7c05d..e57ec00 100755
--- a/configure
+++ b/configure
@@ -315,7 +315,7 @@ if [ "x$target" != "x$(cat $sysdeps/target)" ] ; then
 fi
 
 if $allpic ; then
-  tryflag CFLAGS_AUTO -fPIC
+  tryflag CPPFLAGS_AUTO -fPIC
 fi
 spawn_lib=$(cat $sysdeps/spawn.lib)
 socket_lib=$(cat $sysdeps/socket.lib)