Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/languages
In directory sfp-cvs-1.v30.ch3.sourceforge.com:/tmp/cvs-serv27242

Modified Files:
        gcc48.info 
Log Message:
unbreak use of -isysroot and friends on 10.9 and later

Index: gcc48.info
===================================================================
RCS file: /cvsroot/fink/dists/10.7/stable/main/finkinfo/languages/gcc48.info,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- gcc48.info  29 Jun 2013 02:29:18 -0000      1.6
+++ gcc48.info  4 Jul 2013 15:32:14 -0000       1.7
@@ -44,7 +44,8 @@
  cd ../darwin_objdir
  darwinvers=`sw_vers -productVersion | cut -d. -f1-2`
  if [[ $darwinvers > 10.8 ]]; then
-  ../gcc-%v/configure %c --with-native-system-header-dir=`xcrun 
--show-sdk-path`/usr/include CXX_FOR_BUILD="xcrun g++" CC_FOR_BUILD="xcrun gcc" 
CXXFLAGS="-O2 -g -iframework `xcrun --show-sdk-path`/System/Library/Frameworks"
+   perl -pi -e 's|/usr/include|`xcrun --show-sdk-path`/usr/include|g' 
../gcc-%v/fixincludes/fixinc.in
+   ../gcc-%v/configure %c --with-sysroot="`xcrun --show-sdk-path`"
  else 
    ../gcc-%v/configure %c
  fi


------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to