6 lines
221 B
Bash
6 lines
221 B
Bash
|
#!/bin/sh
|
||
|
gcc -dumpspecs | sed -e 's@/toolchain@@g' \
|
||
|
-e '/\*startfile_prefix_spec:/{n;s@.*@/usr/lib/ @}' \
|
||
|
-e '/\*cpp:/{n;s@$@ -isystem /usr/include@}' > \
|
||
|
$(dirname $(gcc --print-libgcc-file-name))/specs
|