diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2010-06-29 19:18:33 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2010-06-29 19:18:33 +0000 |
commit | d1c898dec8f576888dc3123294c0a8adec0df05e (patch) | |
tree | eb21a1eebc7551b6c214ff1bd4a8ba7035b564ed /app-admin/paxtest/files | |
parent | Fix building with -Wl,--as-needed wrt #247067 by Diego E. Pettenò and Kacper... (diff) | |
download | historical-d1c898dec8f576888dc3123294c0a8adec0df05e.tar.gz historical-d1c898dec8f576888dc3123294c0a8adec0df05e.tar.bz2 historical-d1c898dec8f576888dc3123294c0a8adec0df05e.zip |
Fix building of paxtest-0.9.7_pre4 with -Wl,--as-needed wrt #246755.
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'app-admin/paxtest/files')
-rw-r--r-- | app-admin/paxtest/files/Makefile.psm5 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app-admin/paxtest/files/Makefile.psm5 b/app-admin/paxtest/files/Makefile.psm5 index 54c94480c1c3..8c42af9875bd 100644 --- a/app-admin/paxtest/files/Makefile.psm5 +++ b/app-admin/paxtest/files/Makefile.psm5 @@ -132,7 +132,7 @@ paxtest: $(TESTS) genpaxtest $(EXEC_TESTS) $(MPROT_TESTS): body.o $(CC) $(CFLAGS) -o $@.o -c $@.c - $(CC) $(LDFLAGS) $(PTHREAD) -o $@ $< $@.o + $(CC) $(LDFLAGS) -o $@ $< $@.o $(PTHREAD) $(RAND_TESTS): randbody.o $(CC) $(CFLAGS) -o $@.o -c $@.c @@ -178,7 +178,7 @@ getstack2: getstack.o $(MPROTSH_TESTS): body.o shlibtest.so $(CC) $(CFLAGS) -o $@.o -c $@.c - $(CC) $(LDFLAGS) $(PTHREAD) -o $@ $@.o $^ + $(CC) $(LDFLAGS) -o $@ $@.o $^ $(PTHREAD) # used for RANDEXEC'd binaries retbody.o: body.c @@ -187,12 +187,12 @@ retbody.o: body.c # build as ET_EXEC (recommended by PaX Team, not really a requirement) $(RET_TESTS): retbody.o $(CC) $(CFLAGS) $(CC_ETEXEC) -o $@.o -c $@.c - $(CC) $(LDFLAGS) $(LD_ETEXEC) $(PTHREAD) -o $@ $< $@.o + $(CC) $(LDFLAGS) $(LD_ETEXEC) -o $@ $< $@.o $(PTHREAD) # build as ET_EXEC (not in Adamantix's Makefile) $(RETX_TESTS): retbody.o $(CC) $(CFLAGS) $(CC_ETEXEC) -o $@.o -c $@.c - $(CC) $(LDFLAGS) $(LD_ETEXEC) $(PTHREAD) -o $@ $< $@.o + $(CC) $(LDFLAGS) $(LD_ETEXEC) -o $@ $< $@.o $(PTHREAD) $(PAXBIN) -SPXM $@ # should also shlibbss.o and shlibdata.o be built w/ PIC? @@ -204,4 +204,4 @@ shlib%.so: shlib%.o $(CC) $(SHLDFLAGS) -shared -o $@ $< $(SHLIB_TESTS): body.o $(SHLIBS) shlibbss.o shlibdata.o - $(CC) $(LDFLAGS) $(PTHREAD) -o $@ body.o $@.o $(SHLIBS) $(DL) + $(CC) $(LDFLAGS) -o $@ body.o $@.o $(SHLIBS) $(DL) $(PTHREAD) |