Changeset 2593

Show
Ignore:
Timestamp:
05/21/07 17:04:13 (2 years ago)
Author:
tg
Message:

this seems to fix libnotimpl build

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/freewrt/mk/package.mk

    r2591 r2593  
    1212TCFLAGS:=               ${TARGET_CFLAGS} 
    1313TCXXFLAGS:=             ${TARGET_CFLAGS} 
    14 TCPPFLAGS:=             ${TARGET_CPPFLAGS} \ 
    15                         -DNDEBUG \ 
    16                         -isystem ${STAGING_DIR}/include \ 
    17                         -isystem ${STAGING_DIR}/usr/include 
     14TCPPFLAGS:=             ${TARGET_CPPFLAGS} -DNDEBUG 
    1815TLDFLAGS:=              ${TARGET_LDFLAGS} -Wl,-rpath -Wl,/usr/lib \ 
    1916                        -Wl,-rpath-link -Wl,${STAGING_DIR}/usr/lib \ 
  • trunk/freewrt/mk/vars.mk

    r2592 r2593  
    4040TARGET_CC:=             $(TARGET_COMPILER_PREFIX) $(TARGET_CROSS)gcc 
    4141TARGET_CXX:=            $(TARGET_COMPILER_PREFIX) $(TARGET_CROSS)g++ 
     42TARGET_CPPFLAGS+=       -isystem ${STAGING_DIR}/include \ 
     43                        -isystem ${STAGING_DIR}/usr/include 
    4244PATCH=                  ${MBSH} $(SCRIPT_DIR)/patch-kernel.sh 
    4345SED:=                   $(STAGING_TOOLS)/bin/sed -i -e 
  • trunk/freewrt/toolchain/libnotimpl/Makefile

    r377 r2593  
    1212 
    1313$(LIBNOTIMPL_OBJS): $(LIBNOTIMPL_DIR)/%.o : ./files/%.c 
    14         $(TARGET_CC) $(TARGET_CFLAGS) -c $< -o $@ 
     14        $(TARGET_CC) $(TARGET_CFLAGS) ${TARGET_CPPFLAGS} -c $< -o $@ 
    1515 
    1616$(LIBNOTIMPL_DIR)/libnotimpl.a: $(LIBNOTIMPL_OBJS)