Changes between Initial Version and Version 1 of Ticket #31948


Ignore:
Timestamp:
Nov 7, 2011, 4:37:18 AM (12 years ago)
Author:
royliu@…
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #31948 – Description

    initial v1  
    1111/Developer/SDKs/MacOSX10.6.sdk/Developer/opt/local/lib/apple-gcc42/gcc/i686-apple-darwin11/4.2.1/include
    1212}}}
    13 Such a directory clearly doesn't exist, and this causes the `apple-gcc42` compiler to not find headers like `stdarg.h`.  The attached patch prevents appending of the SDK root to the compiler's own search paths.  I believe that this is a reasonable "fix" to the problem because:
     13Such a directory clearly doesn't exist, and this causes the `apple-gcc42` compiler to not find headers like `stdarg.h`.  The attached patch prevents prepending of the SDK root to the compiler's own search paths.  I believe that this is a reasonable "fix" to the problem because:
    1414  1. MacPorts doesn't put a bunch of compiler-specific stuff into the SDK directories themselves.
    1515  2. The patch is essentially saying "Regardless of the SDK, I want to use a common set of compiler headers".