summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ltconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ltconfig b/bin/ltconfig
index 2347e69..adc36bc 100755
--- a/bin/ltconfig
+++ b/bin/ltconfig
@@ -541,7 +541,7 @@ if test -n "$pic_flag"; then
# Check to make sure the pic_flag actually works.
echo $ac_n "checking if $compiler PIC flag $pic_flag works... $ac_c" 1>&6
$rm conftest*
- echo > conftest.c
+ echo 'main(){return(0);}' > conftest.c
save_CFLAGS="$CFLAGS"
CFLAGS="$CFLAGS $pic_flag -DPIC"
echo "$progname:547: checking if $compiler PIC flag $pic_flag works" >&5