aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2012-12-19 17:00:26 +0200
committerArnold D. Robbins <arnold@skeeve.com>2012-12-19 17:00:26 +0200
commited17f7f9d71310c6418ba10a81bb35792f46cb08 (patch)
tree5b94aeebe6fe18634e09f1b90225b7b8172b67ce /configure
parent45eced1c2512d48a392c7b9f761137d7601fa5b8 (diff)
downloadegawk-ed17f7f9d71310c6418ba10a81bb35792f46cb08.tar.gz
egawk-ed17f7f9d71310c6418ba10a81bb35792f46cb08.tar.bz2
egawk-ed17f7f9d71310c6418ba10a81bb35792f46cb08.zip
Restore building with tcc.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 47d5f18d..fb1ad69c 100755
--- a/configure
+++ b/configure
@@ -10086,7 +10086,9 @@ fi
$as_echo "#define DYNAMIC 1" >>confdefs.h
- if uname | $EGREP -i 'linux|freebsd' > /dev/null
+ # Add -export-dynamic for old extensions. Only works for GCC
+ if test "$GCC" = yes &&
+ uname | $EGREP -i 'linux|freebsd' > /dev/null
then
LDFLAGS="$LDFLAGS -export-dynamic"
fi