summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoakim Sindholt <opensource@zhasha.com>2015-11-12 14:09:02 +0100
committerJoakim Sindholt <opensource@zhasha.com>2015-11-12 14:09:02 +0100
commit5e53600f1a9f937ec02357db710f35e6e5cd1439 (patch)
tree3cb4d6a34d90be1acf14eeeb6ed86c400494e2a5
parent1387af2206147ecbd87fe95c5b3c3654e29f9c1c (diff)
do search the compiler's own headers
This lets you use things like stdatomic or xmmintrin should you be so inclined
-rw-r--r--bin/p9c.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/p9c.sh b/bin/p9c.sh
index 22da344..0df4048 100644
--- a/bin/p9c.sh
+++ b/bin/p9c.sh
@@ -148,7 +148,7 @@ then
OPTS+=("-fstack-protector-all")
# use custom libc
- OPTS+=("-nostdinc")
+ OPTS+=("-nostdlibinc")
OPTS+=("-isystem" "${DIR}/../${objtype}/include")
OPTS+=("-idirafter" "/usr/include")
fi