diff options
Diffstat (limited to 'test/signal')
-rw-r--r-- | test/signal/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/signal/Makefile b/test/signal/Makefile index 1ba7f0350..68b31e75e 100644 --- a/test/signal/Makefile +++ b/test/signal/Makefile @@ -5,13 +5,13 @@ include $(TESTDIR)/Rules.mak TARGETS=signal signal_glibc all: $(TARGETS) -signal: signal.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(TESTCC) +signal: signal.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(CC) -@ echo "-------" -@ echo " " -@ echo "Compiling vs uClibc: " -@ echo " " - $(TESTCC) $(TEST_CFLAGS) -c $< -o $@.o - $(TESTCC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS) + $(CC) $(CFLAGS) -c $< -o $@.o + $(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS) $(STRIPTOOL) -x -R .note -R .comment $@ -./$@ -@ echo " " @@ -21,8 +21,8 @@ signal_glibc: signal.c Makefile -@ echo " " -@ echo "Compiling vs GNU libc: " -@ echo " " - $(CC) $(CFLAGS) -c $< -o $@.o - $(CC) $(LDFLAGS) $@.o -o $@ + $(HOST_CC) $(GLIBC_CFLAGS) -c $< -o $@.o + $(HOST_CC) $(GLIBC_LDFLAGS) $@.o -o $@ $(STRIPTOOL) -x -R .note -R .comment $@ -./$@ -@ echo " " |