summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-09-16 16:17:44 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-09-22 08:24:23 -0400
commit92257abd4b64f0496204adb19462d05c1d6475e3 (patch)
tree906a64d411ff4116482742fdaeebd64fb24df570 /configure.ac
parentbb37026e3547af569db6dce021b59f4d0ac70910 (diff)
downloadhaskell-92257abd4b64f0496204adb19462d05c1d6475e3.tar.gz
Link with libm dynamically (#19877)
The compiler should be independent of the target.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index da7598d621..a62f092877 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1092,6 +1092,8 @@ then
else
AC_SUBST([CabalHaveLibm],[False])
fi
+TargetHasLibm=$HaveLibM
+AC_SUBST(TargetHasLibm)
FP_BFD_SUPPORT