Changeset 33351


Ignore:
Timestamp:
2012-09-09T23:35:42+02:00 (5 years ago)
Author:
jow
Message:

[buildroot] do not pass optimization flags in HOST_CPPFLAGS (#12153)

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/host-build.mk

    r33154 r33351  
    4848        CC="$(HOSTCC)" \ 
    4949        CFLAGS="$(HOST_CFLAGS)" \ 
    50         CPPFLAGS="$(HOST_CFLAGS)" \ 
     50        CPPFLAGS="$(HOST_CPPFLAGS)" \ 
    5151        LDFLAGS="$(HOST_LDFLAGS)" \ 
    5252        SHELL="$(BASH)" 
  • trunk/rules.mk

    r33088 r33351  
    174174 
    175175HOSTCC:=gcc 
    176 HOST_CFLAGS:=-O2 -I$(STAGING_DIR_HOST)/include 
     176HOST_CPPFLAGS:=-I$(STAGING_DIR_HOST)/include 
     177HOST_CFLAGS:=-O2 $(HOST_CPPFLAGS) 
    177178HOST_LDFLAGS:=-L$(STAGING_DIR_HOST)/lib 
    178179 
Note: See TracChangeset for help on using the changeset viewer.