summaryrefslogtreecommitdiff
path: root/test/ldso
diff options
context:
space:
mode:
Diffstat (limited to 'test/ldso')
-rw-r--r--test/ldso/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/test/ldso/Makefile b/test/ldso/Makefile
index 3131a715a..59946ae85 100644
--- a/test/ldso/Makefile
+++ b/test/ldso/Makefile
@@ -4,17 +4,16 @@ include $(TESTDIR)/Rules.mak
all: dltest shared run
dltest:
- $(TESTCC) $(TEST_CFLAGS) -c dltest.c -o dltest.o
- $(TESTCC) $(TEST_CFLAGS) -c howdy.c -o howdy.o
+ $(CC) $(CFLAGS) -c dltest.c -o dltest.o
+ $(CC) $(CFLAGS) -c howdy.c -o howdy.o
shared:
- $(TESTCC) $(TEST_CFLAGS) -shared -o libhowdy.so -Wl,-soname,libhowdy.so howdy.o
- $(TESTCC) $(TEST_CFLAGS) -o dltest dltest.o -ldl
+ $(CC) $(CFLAGS) -shared -o libhowdy.so -Wl,-soname,libhowdy.so howdy.o
+ $(CC) $(CFLAGS) -o dltest dltest.o -ldl
run:
@echo Running dltest
./dltest
clean:
- rm -f *.o *.so dltest core
-
+ rm -f *.o *.so dltest core libhowdy.so