diff options
author | Ben Gamari <ben@smart-cactus.org> | 2021-07-25 16:46:48 -0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-09-23 16:00:18 -0400 |
commit | ee7bdc5c96d469092b5e2751cfeecfe9cd5a5495 (patch) | |
tree | eefed43afb96a70def56c2925985dbb3f9349ab8 /distrib | |
parent | f48d747dd647111b2e78679eaf572006908a7a5a (diff) | |
download | haskell-ee7bdc5c96d469092b5e2751cfeecfe9cd5a5495.tar.gz |
configure: Add check for whether CC supports --target
Diffstat (limited to 'distrib')
-rw-r--r-- | distrib/configure.ac.in | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/distrib/configure.ac.in b/distrib/configure.ac.in index dfc06e5a43..a1abed4b03 100644 --- a/distrib/configure.ac.in +++ b/distrib/configure.ac.in @@ -168,6 +168,10 @@ dnl May need to use gcc to find platform details. dnl -------------------------------------------------------------- FPTOOLS_SET_HASKELL_PLATFORM_VARS +dnl ** See whether cc supports --target=<triple> and set +dnl CONF_CC_OPTS_STAGE[12] accordingly. +FP_CC_SUPPORTS_TARGET + dnl TargetWordSize for settings file AC_CHECK_SIZEOF(void *, 4) if test "x$ac_cv_sizeof_void_p" = "x0"; then |