- cleanup conftest temporary files.

This commit is contained in:
Bernhard Reutner-Fischer 2006-05-29 20:01:52 +00:00
parent 35e1a077d6
commit 077368194c

View File

@ -169,7 +169,7 @@ LD_START_GROUP:=$(shell echo "int bar(void){return 0;}" > conftest.c ; \
$(AR) $(ARFLAGS) conftest.a conftest.o ; \ $(AR) $(ARFLAGS) conftest.a conftest.o ; \
$(CC) -Wl,--start-group conftest.a conftest_main.o -Wl,--end-group \ $(CC) -Wl,--start-group conftest.a conftest_main.o -Wl,--end-group \
-o conftest > /dev/null 2>&1 && echo "-Wl,--start-group" ; \ -o conftest > /dev/null 2>&1 && echo "-Wl,--start-group" ; \
echo rm conftest_main.o conftest_main.c conftest.o conftest.c \ rm conftest_main.o conftest_main.c conftest.o conftest.c \
conftest.a conftest > /dev/null 2>&1 ; ) conftest.a conftest > /dev/null 2>&1 ; )
ifneq ($(findstring start-group,$(LD_START_GROUP)),) ifneq ($(findstring start-group,$(LD_START_GROUP)),)
LD_END_GROUP:= -Wl,--end-group LD_END_GROUP:= -Wl,--end-group