mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-02 08:42:48 +00:00
Pass "-Wtraditional -Wno-system-headers" to compiler as two separate
arguments. GCC4 was unhappy with them combined, while GCC 3.4 did not care.
This commit is contained in:
parent
62d9c4f594
commit
f340c84ebe
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162493
@ -402,7 +402,8 @@ main(int argc, char *argv[])
|
||||
break;
|
||||
|
||||
case 'p':
|
||||
appcstrg(&lcflags, "-Wtraditional -Wno-system-headers");
|
||||
appcstrg(&lcflags, "-Wtraditional");
|
||||
appcstrg(&lcflags, "-Wno-system-headers");
|
||||
appcstrg(&l1flags, "-p");
|
||||
appcstrg(&l2flags, "-p");
|
||||
if (*deflibs != NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user