diff options
author | Gabriella Gonzalez <gabriella@mercury.com> | 2023-02-28 16:35:26 -0800 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-03-06 17:06:50 -0500 |
commit | c56a3ae681becc7736e5a0e3d0461b8872a02707 (patch) | |
tree | 689e73fc81fc7494b87fd44491de5fa4ac7b72e6 | |
parent | 845f404da0754f0fa2495739e5ad94b20d3c465d (diff) | |
download | haskell-c56a3ae681becc7736e5a0e3d0461b8872a02707.tar.gz |
Small fixes to configure script
-rw-r--r-- | m4/fp_ld_supports_response_files.m4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/fp_ld_supports_response_files.m4 b/m4/fp_ld_supports_response_files.m4 index a1124d94bb..34e4c88a3d 100644 --- a/m4/fp_ld_supports_response_files.m4 +++ b/m4/fp_ld_supports_response_files.m4 @@ -5,7 +5,7 @@ AC_DEFUN([FP_LD_SUPPORTS_RESPONSE_FILES], [ AC_MSG_CHECKING([whether $LD supports response files]) echo 'int main(void) {return 0;}' > conftest.c "$CC" -c -o conftest.o conftest.c > /dev/null 2>&1 - printf '%q\n' -shared -o conftest conftest.o > args.txt + printf '%q\n' -o conftest conftest.o > args.txt if "$LD" -shared @args.txt > /dev/null 2>&1 || "$LD" -dylib @args.txt > /dev/null 2>&1 then LdSupportsResponseFiles=YES @@ -14,6 +14,6 @@ AC_DEFUN([FP_LD_SUPPORTS_RESPONSE_FILES], [ LdSupportsResponseFiles=NO AC_MSG_RESULT([no]) fi - rm -f conftest.c conftest + rm -f conftest.c conftest args.txt AC_SUBST(LdSupportsResponseFiles) ]) |