Port the mbsd_multi patch from freewrt, which adds -fhonour-copts. This will emit warnings in packages that don't use our target cflags properly

SVN-Revision: 8256
This commit is contained in:
Felix Fietkau
2007-07-31 00:52:27 +00:00
parent 23f0017829
commit 99368862e4
6 changed files with 1178 additions and 1 deletions

View File

@@ -46,7 +46,7 @@ endif
IMAGE:=$(BUILD_DIR)/root_fs_$(ARCH)
TARGET_PATH:=$(STAGING_DIR)/usr/sbin:$(STAGING_DIR)/usr/bin:$(STAGING_DIR)/bin:$(PATH)
TARGET_CFLAGS:=$(TARGET_OPTIMIZATION)
TARGET_CFLAGS:=$(TARGET_OPTIMIZATION) -fhonour-copts
export PATH:=$(TARGET_PATH)