- add cc-option and use it to check for stuff that is benefical for PREFER_IMA

- backport the libbackend.o gcov-iov.h dependency fixup from 4.2 to 4.0
This commit is contained in:
Bernhard Reutner-Fischer
2007-02-12 13:38:06 +00:00
parent e5b36a686c
commit 99cf7293f9
4 changed files with 22 additions and 1 deletions

View File

@@ -27,7 +27,7 @@ endif
touch $@
ifeq ($(BR2_PREFER_IMA),y)
SETSERIAL_CFLAGS=--combine -fwhole-program
SETSERIAL_CFLAGS=--combine $(CFLAGS_WHOLE_PROGRAM)
endif
$(SETSERIAL_DIR)/.configured: $(SETSERIAL_DIR)/.unpacked