summaryrefslogtreecommitdiff
path: root/tools/musl-gcc.specs.sh
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-06-07 10:13:07 -0400
committerRich Felker <dalias@aerifal.cx>2013-06-07 10:13:07 -0400
commitc161356002354f238a3333cafab430ada5006269 (patch)
tree40d56e3146af388bf627f47f42a3a27a693ba02e /tools/musl-gcc.specs.sh
parentf7244d205fc68d9ee8e28f89a8b5a680586a6117 (diff)
downloadmusl-c161356002354f238a3333cafab430ada5006269.tar.gz
make gcc-specific headers (intrinsics, etc.) available with wrapper
they are intentionally listed after the libc include directory so that the gcc float.h, etc. don't get used in place of the libc ones.
Diffstat (limited to 'tools/musl-gcc.specs.sh')
-rw-r--r--tools/musl-gcc.specs.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/musl-gcc.specs.sh b/tools/musl-gcc.specs.sh
index 3e88c5d1..1f683ce0 100644
--- a/tools/musl-gcc.specs.sh
+++ b/tools/musl-gcc.specs.sh
@@ -5,10 +5,10 @@ cat <<EOF
%rename cpp_options old_cpp_options
*cpp_options:
--nostdinc -isystem $incdir %(old_cpp_options)
+-nostdinc -isystem $incdir -isystem include%s %(old_cpp_options)
*cc1:
-%(cc1_cpu) -nostdinc -isystem $incdir
+%(cc1_cpu) -nostdinc -isystem -isystem include%s $incdir
*link_libgcc:
-L$libdir -L .%s