Support rewriting paths in -F/-iframework GCC options

This commit is contained in:
Grigory Entin 2011-04-17 22:22:44 +02:00 committed by Joel Rosdahl
parent 8c3039d676
commit 2734eb4652

View File

@ -37,6 +37,7 @@ static const struct compopt compopts[] = {
{"-A", TAKES_ARG},
{"-D", AFFECTS_CPP | TAKES_ARG | TAKES_CONCAT_ARG},
{"-E", TOO_HARD},
{"-F", AFFECTS_CPP | TAKES_ARG | TAKES_CONCAT_ARG | TAKES_PATH},
{"-G", TAKES_ARG},
{"-I", AFFECTS_CPP | TAKES_ARG | TAKES_CONCAT_ARG | TAKES_PATH},
{"-L", TAKES_ARG},
@ -59,6 +60,7 @@ static const struct compopt compopts[] = {
{"-frepo", TOO_HARD},
{"-ftest-coverage", TOO_HARD},
{"-idirafter", AFFECTS_CPP | TAKES_ARG | TAKES_PATH},
{"-iframework", AFFECTS_CPP | TAKES_ARG | TAKES_CONCAT_ARG | TAKES_PATH},
{"-imacros", AFFECTS_CPP | TAKES_ARG | TAKES_PATH},
{"-imultilib", AFFECTS_CPP | TAKES_ARG | TAKES_PATH},
{"-include", AFFECTS_CPP | TAKES_ARG | TAKES_PATH},