Change idirafter back to isystem in system adjust

parent bbf9beeb
......@@ -2,14 +2,14 @@
# Distributed under the terms of the ISC License
$MV $TOOL/bin/ld $TOOL/bin/ld-old &&
$MV $TOOL/$TUPL/bin/ld $TOOL/$TUPL/bin/ld-old &&
$MV $TOOL/bin/ld-new $TOOL/bin/ld &&
$MV $TOOL/$TUPL/bin/ld $TOOL/$TUPL/bin/ld-old &&
$LN $TOOL/bin/ld $TOOL/$TUPL/bin/ld &&
gcc -dumpspecs > $(dirname $(gcc --print-libgcc-file-name))/specs &&
sed -e "s/\\$TOOL/\/usr/g" \
-e '/\*startfile_prefix_spec:/{n;s/.*/\/usr\/lib\/ /}' \
-e '/\*cpp:/{n;s/$/ -idirafter \/usr\/include/}' \
-e '/\*cpp:/{n;s/$/ -isystem \/usr\/include/}' \
-i $(dirname $(gcc --print-libgcc-file-name))/specs
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment