Changeset 115978


Ignore:
Timestamp:
Jan 15, 2014, 8:59:16 PM (6 years ago)
Author:
ryandesign@…
Message:

portconfigure.tcl, portfile.7: set default configure.cppflags to -isystem${prefix}/include (instead of -I${prefix}/include) to fix various issues (#40656)

Location:
trunk/base
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/doc/portfile.7

    r115429 r115978  
    11.\" portfile.7
    22.\"
    3 .\" Copyright (c) 2004-2013 The MacPorts Project
     3.\" Copyright (c) 2004-2014 The MacPorts Project
    44.\" Copyright (c) 2002-2003 Apple Inc.
    55.\" All rights reserved.
     
    11441144.br
    11451145.Sy Default:
    1146 .Em -I${prefix}/include
     1146.Em -isystem${prefix}/include
    11471147.It Ic configure.cxxflags
    11481148Flags to put in the CXXFLAGS environment variable when invoking the configure script.
     
    11681168.br
    11691169.Sy Default:
    1170 .Em -L${prefix}/lib
     1170.Em -L${prefix}/lib -Wl,-headerpad_max_install_names
    11711171.It Ic configure.fflags
    11721172Flags to put in the FFLAGS environment variable when invoking the configure script.
  • trunk/base/src/port1.0/portconfigure.tcl

    r115646 r115978  
    142142default configure.objcflags     {${configure.optflags}}
    143143default configure.objcxxflags   {${configure.optflags}}
    144 default configure.cppflags      {-I${prefix}/include}
     144default configure.cppflags      {-isystem${prefix}/include}
    145145default configure.ldflags       {"-L${prefix}/lib -Wl,-headerpad_max_install_names"}
    146146default configure.libs          {}
Note: See TracChangeset for help on using the changeset viewer.