summaryrefslogtreecommitdiff
path: root/Configure
diff options
context:
space:
mode:
authorJess Robinson <castaway@desert-island.me.uk>2012-12-29 21:26:27 +0000
committerBrian Fraser <fraserbn@gmail.com>2014-01-17 11:35:46 -0300
commitbda0aa4ad2c2109bf684a899b547be1e4dc44d7b (patch)
tree437b9eb390a864d23466f318a6fec199c9534798 /Configure
parent1620d8059f41c65bdf4dbde03f1b3c0d4cf41233 (diff)
downloadperl-bda0aa4ad2c2109bf684a899b547be1e4dc44d7b.tar.gz
Set appropriate flags for linux or linux-like systems.
This means that osnames that look like *linux*, like linux-androideabi or linux-gnueabihf are treated like linux systems.
Diffstat (limited to 'Configure')
-rwxr-xr-xConfigure8
1 files changed, 4 insertions, 4 deletions
diff --git a/Configure b/Configure
index f476297a31..c402975503 100755
--- a/Configure
+++ b/Configure
@@ -7979,7 +7979,7 @@ EOM
;;
*) case "$osname" in
darwin) dflt='none' ;;
- linux*|svr4*|esix*|solaris|nonstopux) dflt='-fPIC' ;;
+ *linux*|svr4*|esix*|solaris|nonstopux) dflt='-fPIC' ;;
*) dflt='-fpic' ;;
esac ;;
esac ;;
@@ -8087,7 +8087,7 @@ EOM
'') dflt="$dflt +vnocompatwarnings" ;;
esac
;;
- linux|irix*|gnu*) dflt="-shared $optimize" ;;
+ *linux*|irix*|gnu*) dflt="-shared $optimize" ;;
next) dflt='none' ;;
solaris) # See [perl #66604].
# On Solaris 11, gcc -m64 on amd64
@@ -8169,7 +8169,7 @@ say "none".
EOM
case "$ccdlflags" in
'') case "$osname" in
- linux|hpux|gnu*) dflt='-Wl,-E' ;;
+ *linux*|hpux|gnu*) dflt='-Wl,-E' ;;
next|sunos) dflt='none' ;;
*) dflt='none' ;;
esac ;;
@@ -8302,7 +8302,7 @@ true)
dflt=libperl.5.$so
# XXX How handle the --version stuff for MAB?
;;
- linux*|gnu*) # ld won't link with a bare -lperl otherwise.
+ *linux*|gnu*) # ld won't link with a bare -lperl otherwise.
dflt=libperl.$so
;;
cygwin*) # ld links now against the dll directly