Browse Source

Oops. Should be LDFLAGS, not CFLAGS twice

Eric Andersen 24 years ago
parent
commit
2af5d78a2f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      test/assert/Makefile
  2. 1 1
      test/ctype/Makefile

+ 1 - 1
test/assert/Makefile

@@ -11,7 +11,7 @@ assert: assert.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(TESTCC)
 	-@ echo "Compiling vs uClibc: "
 	-@ echo " "
 	$(TESTCC) $(CFLAGS) -c $< -o $@.o
-	$(TESTCC) $(CFLAGS) $@.o -o $@ $(EXTRA_LIBS)
+	$(TESTCC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
 	$(STRIPTOOL) -x -R .note -R .comment $@
 	-./$@
 	-@ echo " "

+ 1 - 1
test/ctype/Makefile

@@ -10,7 +10,7 @@ ctype: ctype.c ../testsuite.h Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(
 	-@ echo "Compiling vs uClibc: "
 	-@ echo " "
 	$(TESTCC) $(CFLAGS) -c $< -o $@.o
-	$(TESTCC) $(CFLAGS) $@.o -o $@ $(EXTRA_LIBS)
+	$(TESTCC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
 	$(STRIPTOOL) -x -R .note -R .comment $@
 	./$@
 	-@ echo " "