diff options
author | Joakim Plate <elupus@ecce.se> | 2013-10-20 14:56:29 -0700 |
---|---|---|
committer | Joakim Plate <elupus@ecce.se> | 2013-10-20 14:56:29 -0700 |
commit | 98bc252bdc2b1cc1790fef40120e4de352c7b3cc (patch) | |
tree | a9b5310af6fa6b4f77c1e6124be08335ec0efab9 /tools | |
parent | 0dcb836a0db2756d3809b639d7cd6a8f25bcde54 (diff) | |
parent | 077a93367deaf98505c6b3e5c431482be12e46ac (diff) |
Merge pull request #3470 from elupus/depends
depends: use -isystem instead of -I to add system includes
Diffstat (limited to 'tools')
-rw-r--r-- | tools/depends/Makefile.include.in | 6 | ||||
-rw-r--r-- | tools/depends/target/config.site.in | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/tools/depends/Makefile.include.in b/tools/depends/Makefile.include.in index c7c452d8b5..c63ae04201 100644 --- a/tools/depends/Makefile.include.in +++ b/tools/depends/Makefile.include.in @@ -46,10 +46,10 @@ READELF=@READELF@ OBJDUMP=@OBJDUMP@ CMAKE=@prefix@/@tool_dir@/bin/cmake -DCMAKE_TOOLCHAIN_FILE=$(PREFIX)/share/Toolchain.cmake -DCMAKE_INSTALL_PREFIX=$(PREFIX) -CFLAGS=@platform_cflags@ @platform_includes@ -I@prefix@/@deps_dir@/include +CFLAGS=@platform_cflags@ @platform_includes@ -isystem @prefix@/@deps_dir@/include LDFLAGS=-L@prefix@/@deps_dir@/lib @platform_ldflags@ -CXXFLAGS=@platform_cxxflags@ @platform_includes@ -I@prefix@/@deps_dir@/include -CPPFLAGS=@platform_cflags@ @platform_includes@ -I@prefix@/@deps_dir@/include +CXXFLAGS=@platform_cxxflags@ @platform_includes@ -isystem @prefix@/@deps_dir@/include +CPPFLAGS=@platform_cflags@ @platform_includes@ -isystem @prefix@/@deps_dir@/include PATH:=@prefix@/@tool_dir@/bin:$(PATH) ifneq (@use_build_toolchain@,) diff --git a/tools/depends/target/config.site.in b/tools/depends/target/config.site.in index 95187fde21..bc5d2787b0 100644 --- a/tools/depends/target/config.site.in +++ b/tools/depends/target/config.site.in @@ -20,10 +20,10 @@ if test "@platform_os@" = "ios" ; then export CCAS="--tag CC @prefix@/@tool_dir@/bin/gas-preprocessor.pl @CC@ -arch @use_cpu@" fi -CFLAGS="@platform_cflags@ @platform_includes@ -I@prefix@/@deps_dir@/include $CFLAGS" +CFLAGS="@platform_cflags@ @platform_includes@ -isystem @prefix@/@deps_dir@/include $CFLAGS" LDFLAGS="-L@prefix@/@deps_dir@/lib @platform_ldflags@ $LDFLAGS" -CXXFLAGS="@platform_cxxflags@ @platform_includes@ -I@prefix@/@deps_dir@/include $CXXFLAGS" -CPPFLAGS="@platform_cflags@ @platform_includes@ -I@prefix@/@deps_dir@/include $CPPFLAGS" +CXXFLAGS="@platform_cxxflags@ @platform_includes@ -isystem @prefix@/@deps_dir@/include $CXXFLAGS" +CPPFLAGS="@platform_cflags@ @platform_includes@ -isystem @prefix@/@deps_dir@/include $CPPFLAGS" export PKG_CONFIG=@prefix@/@tool_dir@/bin/pkg-config export PKG_CONFIG_LIBDIR=@prefix@/@deps_dir@/lib/pkgconfig |