Skip to content
Snippets Groups Projects
Commit 301c8575 authored by Fred Wright's avatar Fred Wright Committed by Christopher Nielsen
Browse files

Makefile: Include ARCHFLAGS for xtests/mantests.

The rework of the Makefile recipes dropped this, which impacts
those test builds for non-default architectures.

TESTED:
ARCHFLAGS is now honored as intended.
parent 8dfd6277
No related branches found
No related tags found
No related merge requests found
...@@ -365,7 +365,7 @@ $(TESTSPRGS_C): %_static: %.o $(BUILDSLIBPATH) ...@@ -365,7 +365,7 @@ $(TESTSPRGS_C): %_static: %.o $(BUILDSLIBPATH)
# The "darwin_c" tests need the -fno-builtin option with some compilers. # The "darwin_c" tests need the -fno-builtin option with some compilers.
$(XTESTOBJS_C): %.o: %.c $(ALLHEADERS) $(XTESTOBJS_C): %.o: %.c $(ALLHEADERS)
$(CC) -c -std=c99 -fno-builtin -I$(SRCINCDIR) $(CFLAGS) $< -o $@ $(CC) -c -std=c99 -fno-builtin -I$(SRCINCDIR) $(ALLCFLAGS) $< -o $@
# The xtests don't require the library # The xtests don't require the library
$(XTESTPRGS_C): %: %.o $(XTESTPRGS_C): %: %.o
...@@ -374,7 +374,7 @@ $(XTESTPRGS_C): %: %.o ...@@ -374,7 +374,7 @@ $(XTESTPRGS_C): %: %.o
# The "darwin_c" tests need the -fno-builtin option with some compilers. # The "darwin_c" tests need the -fno-builtin option with some compilers.
# It shouldn't hurt the other manual tests. # It shouldn't hurt the other manual tests.
$(MANTESTOBJS_C): %.o: %.c $(ALLHEADERS) $(MANTESTOBJS_C): %.o: %.c $(ALLHEADERS)
$(CC) -c -std=c99 -fno-builtin -I$(SRCINCDIR) $(CFLAGS) $< -o $@ $(CC) -c -std=c99 -fno-builtin -I$(SRCINCDIR) $(ALLCFLAGS) $< -o $@
# Currently, the manual C tests don't require the library # Currently, the manual C tests don't require the library
$(MANTESTPRGS_C): %: %.o $(MANTESTPRGS_C): %: %.o
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment