summaryrefslogtreecommitdiff
path: root/testsuite
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2021-09-17 20:20:00 -0400
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-09-23 16:00:18 -0400
commitb30f90c4d9f72a05ef31878217e019338316d281 (patch)
tree72345a8f3a5b71116f4e4494f65648ddfd4e89f9 /testsuite
parentc9a87dcaded32cde63f2b661b632233164a79a02 (diff)
downloadhaskell-b30f90c4d9f72a05ef31878217e019338316d281.tar.gz
testsuite: Don't use cc directly in section_alignment test
Diffstat (limited to 'testsuite')
-rw-r--r--testsuite/tests/rts/linker/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/rts/linker/Makefile b/testsuite/tests/rts/linker/Makefile
index 90358e1507..eac2b90b07 100644
--- a/testsuite/tests/rts/linker/Makefile
+++ b/testsuite/tests/rts/linker/Makefile
@@ -8,7 +8,7 @@ unsigned_reloc_macho_x64:
./runner unsigned_reloc_macho_x64.o getAnswer
section_alignment:
- cc -c -o section_alignment.o section_alignment.c
+ '$(TEST_CC)' $(TEST_CC_OPTS) -c -o section_alignment.o section_alignment.c
'$(TEST_HC)' $(TEST_HC_OPTS_NO_RTSOPTS) -v0 --make -no-rtsopts-suggestions -no-hs-main -o runner runner.c
./runner section_alignment.o isAligned