summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJosh Triplett <josh@joshtriplett.org>2010-04-17 03:31:35 -0700
committerJosh Triplett <josh@joshtriplett.org>2010-04-17 03:31:35 -0700
commitb6a7ccd13501ee2099c9819af4b36587f21ca1e0 (patch)
treea3fecf861b50ddb42d381e89711495cf759a8e60
parentb45be9bb8d27156389a0dbec42cabfb390f61c5b (diff)
Support Linux on any architecture, and assume -fPIC
According to Dave Miller, glibc uses -fPIC unconditionally on Linux. Replace the whitelist of supported Linux architectures with support for Linux on any architecture, and assume that -fPIC alone will work for shared libraries on Linux.
-rw-r--r--dolt.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/dolt.m4 b/dolt.m4
index 177abb3..748633c 100644
--- a/dolt.m4
+++ b/dolt.m4
@@ -22,7 +22,7 @@ if test x$GCC != xyes; then
dolt_supported=no
fi
case $host in
-i?86-*-linux*|x86_64-*-linux*|powerpc-*-linux*|sparc*-*-linux* \
+*-*-linux* \
|amd64-*-freebsd*|i?86-*-freebsd*|ia64-*-freebsd*)
pic_options='-fPIC'
;;