summaryrefslogtreecommitdiff
path: root/libdecnumber/configure
diff options
context:
space:
mode:
Diffstat (limited to 'libdecnumber/configure')
-rwxr-xr-xlibdecnumber/configure7
1 files changed, 4 insertions, 3 deletions
diff --git a/libdecnumber/configure b/libdecnumber/configure
index 61438ec148e..2720f46ff7f 100755
--- a/libdecnumber/configure
+++ b/libdecnumber/configure
@@ -593,7 +593,7 @@ ac_includes_default="\
ac_subst_vars='LTLIBOBJS
LIBOBJS
-CXXFLAGS
+PICFLAG
ADDITIONAL_OBJS
enable_decimal_float
target_os
@@ -4895,12 +4895,13 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Enable --enable-host-shared.
# Check whether --enable-host-shared was given.
if test "${enable_host_shared+set}" = set; then :
- enableval=$enable_host_shared; CFLAGS="-fPIC $CFLAGS"; CXXFLAGS="-fPIC $CXXFLAGS"
+ enableval=$enable_host_shared; PICFLAG=-fPIC
+else
+ PICFLAG=
fi
-
# Output.
ac_config_headers="$ac_config_headers config.h:config.in"