summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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