summaryrefslogtreecommitdiff
path: root/distrib
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-11-27 13:25:51 +0000
committerIan Lynagh <igloo@earth.li>2011-11-27 13:33:43 +0000
commit9ccb59ed6e5edf73c876e87429e69e8848162497 (patch)
tree72e96c20ce3efc1eabaf5463d45bdb71bd8946f2 /distrib
parent3275b7bd2a803a3adc0b952b6fbfeb738fc15a74 (diff)
downloadhaskell-9ccb59ed6e5edf73c876e87429e69e8848162497.tar.gz
Test whether ld flags exist before using them
Some platforms use linkers that don't support the --hash-size=31 and --reduce-memory-overheads flags.
Diffstat (limited to 'distrib')
-rw-r--r--distrib/configure.ac.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/distrib/configure.ac.in b/distrib/configure.ac.in
index 8af06d2254..a9fc134021 100644
--- a/distrib/configure.ac.in
+++ b/distrib/configure.ac.in
@@ -56,6 +56,9 @@ FIND_GCC()
FP_GCC_VERSION
AC_PROG_CPP
+FP_PROG_LD_HashSize31
+FP_PROG_LD_ReduceMemoryOverheads
+
#
dnl ** Check gcc version and flags we need to pass it **
#