aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-06-28 04:54:15 +0000
committerRichard Stallman <rms@gnu.org>1993-06-28 04:54:15 +0000
commit8b3d02513eb1b096d82d116d8db80c7374c814b7 (patch)
treeef1fc221b1aa378c9adfb826f610170d16cb89a5
parent12abafbd01db6d822e8ce2209b4a7a8d2e7b5edc (diff)
downloadgcc-8b3d02513eb1b096d82d116d8db80c7374c814b7.zip
gcc-8b3d02513eb1b096d82d116d8db80c7374c814b7.tar.gz
gcc-8b3d02513eb1b096d82d116d8db80c7374c814b7.tar.bz2
(DEFAULT_WORD_SWITCH_TAKES_ARG): Check for -iwithprefixbefore.
(option_map): Add --include-with-prefix-before and --include-with-prefix-after. From-SVN: r4782
-rw-r--r--gcc/gcc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 24205a4..504ceb2 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -399,7 +399,7 @@ static char *switches_need_spaces = SWITCHES_NEED_SPACES;
|| !strcmp (STR, "Tbss") || !strcmp (STR, "include") \
|| !strcmp (STR, "imacros") || !strcmp (STR, "aux-info") \
|| !strcmp (STR, "idirafter") || !strcmp (STR, "iprefix") \
- || !strcmp (STR, "iwithprefix"))
+ || !strcmp (STR, "iwithprefix") || !strcmp (STR, "iwithprefixbefore"))
#ifndef WORD_SWITCH_TAKES_ARG
#define WORD_SWITCH_TAKES_ARG(STR) DEFAULT_WORD_SWITCH_TAKES_ARG (STR)
@@ -649,6 +649,8 @@ struct option_map option_map[] =
{"--include-prefix", "-iprefix", "a"},
{"--include-directory-after", "-idirafter", "a"},
{"--include-with-prefix", "-iwithprefix", "a"},
+ {"--include-with-prefix-before", "-iwithprefixbefore", "a"},
+ {"--include-with-prefix-after", "-iwithprefix", "a"},
{"--machine-", "-m", "*j"},
{"--machine", "-m", "aj"},
{"--no-standard-includes", "-nostdinc", 0},