Changeset 8256


Ignore:
Timestamp:
2007-07-31T02:52:27+02:00 (9 years ago)
Author:
nbd
Message:

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

Location:
trunk
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/kernel.mk

    r8086 r8256  
    1212else 
    1313  include $(INCLUDE_DIR)/target.mk 
     14 
     15  export GCC_HONOUR_COPTS=s 
    1416 
    1517  ifeq ($(KERNEL),2.6) 
  • trunk/rules.mk

    r8206 r8256  
    4747 
    4848TARGET_PATH:=$(STAGING_DIR)/usr/sbin:$(STAGING_DIR)/usr/bin:$(STAGING_DIR)/bin:$(PATH) 
    49 TARGET_CFLAGS:=$(TARGET_OPTIMIZATION) 
     49TARGET_CFLAGS:=$(TARGET_OPTIMIZATION) -fhonour-copts 
    5050 
    5151export PATH:=$(TARGET_PATH) 
Note: See TracChangeset for help on using the changeset viewer.