Skip to content

Commit dddab58

Browse files
committed
gcc accepts -U foo as well as -Ufoo
This is used by newlib.
1 parent 3d4c9e0 commit dddab58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goto-cc/gcc_cmdline.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ const char *gcc_options_with_argument[]=
7878
"-MT",
7979
"-MQ",
8080
"-MF",
81+
"-U",
8182
"-u", // goes to linker
8283
"-T", // goes to linker
8384
NULL
@@ -117,7 +118,6 @@ const char *gcc_options_with_concatenated_argument[]=
117118
"-d",
118119
"-g",
119120
"-A",
120-
"-U",
121121
NULL
122122
};
123123

0 commit comments

Comments
 (0)