Changeset 54795


Ignore:
Timestamp:
Aug 2, 2009, 5:19:57 AM (11 years ago)
Author:
toby@…
Message:

base: Stop including CPPFLAGS in CFLAGS

Some components were being built with redundant flags. Add CPPFLAGS to
build rules where necessary.

Location:
trunk/base
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/Mk/macports.autoconf.mk.in

    r53202 r54795  
    88
    99CC                      = @CC@
    10 CFLAGS                  = @CFLAGS@ $(CFLAGS_QUICHEEATERS) $(CFLAGS_WERROR) $(CPPFLAGS)
    11 OBJCFLAGS               = @OBJCFLAGS@ $(CFLAGS_QUICHEEATERS) $(CFLAGS_WERROR) $(CPPFLAGS)
     10CFLAGS                  = @CFLAGS@ $(CFLAGS_QUICHEEATERS) $(CFLAGS_WERROR)
     11OBJCFLAGS               = @OBJCFLAGS@ $(CFLAGS_QUICHEEATERS) $(CFLAGS_WERROR)
    1212CPPFLAGS                = @CPPFLAGS@ @DEFS@ @INCLUDES@ @TCL_INCLUDES@
    1313TCL_DEFS                = @TCL_DEFS@
  • trunk/base/Mk/macports.tea.mk

    r54781 r54795  
    44
    55.m.o:
    6         ${CC} -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED ${OBJCFLAGS} ${SHLIB_CFLAGS} $< -o $@
     6        ${CC} -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED ${OBJCFLAGS} ${CPPFLAGS} ${SHLIB_CFLAGS} $< -o $@
    77
    88.c.o:
    9         ${CC} -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED ${CFLAGS} ${SHLIB_CFLAGS} $< -o $@
     9        ${CC} -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED ${CFLAGS} ${CPPFLAGS} ${SHLIB_CFLAGS} $< -o $@
    1010
    1111all:: ${SHLIB_NAME} pkgIndex.tcl
  • trunk/base/src/cregistry/Makefile

    r51386 r54795  
    1212
    1313.c.o:
    14         ${CC} -c -DUSE_TCL_STUBS ${CFLAGS} ${SHLIB_CFLAGS} $< -o $@
     14        ${CC} -c -DUSE_TCL_STUBS ${CFLAGS} ${CPPFLAGS} ${SHLIB_CFLAGS} $< -o $@
    1515
    1616${STLIB_NAME}:: ${OBJS}
Note: See TracChangeset for help on using the changeset viewer.