mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-29 04:34:42 +08:00
(lang_options): Add -fhosted, -ffreestanding, and -Wmain.
From-SVN: r13519
This commit is contained in:
parent
92fce8f5f8
commit
5ae3bec5ee
@ -1,5 +1,5 @@
|
|||||||
/* Top level of GNU C compiler
|
/* Top level of GNU C compiler
|
||||||
Copyright (C) 1987, 88, 89, 92-5, 1996 Free Software Foundation, Inc.
|
Copyright (C) 1987, 88, 89, 92-6, 1997 Free Software Foundation, Inc.
|
||||||
|
|
||||||
This file is part of GNU CC.
|
This file is part of GNU CC.
|
||||||
|
|
||||||
@ -662,6 +662,10 @@ char *lang_options[] =
|
|||||||
"-fno-asm",
|
"-fno-asm",
|
||||||
"-fbuiltin",
|
"-fbuiltin",
|
||||||
"-fno-builtin",
|
"-fno-builtin",
|
||||||
|
"-fhosted",
|
||||||
|
"-fno-hosted",
|
||||||
|
"-ffreestanding",
|
||||||
|
"-fno-freestanding",
|
||||||
"-fcond-mismatch",
|
"-fcond-mismatch",
|
||||||
"-fno-cond-mismatch",
|
"-fno-cond-mismatch",
|
||||||
"-fdollars-in-identifiers",
|
"-fdollars-in-identifiers",
|
||||||
@ -692,6 +696,8 @@ char *lang_options[] =
|
|||||||
"-Wno-import",
|
"-Wno-import",
|
||||||
"-Wimplicit",
|
"-Wimplicit",
|
||||||
"-Wno-implicit",
|
"-Wno-implicit",
|
||||||
|
"-Wmain",
|
||||||
|
"-Wno-main",
|
||||||
"-Wmissing-braces",
|
"-Wmissing-braces",
|
||||||
"-Wno-missing-braces",
|
"-Wno-missing-braces",
|
||||||
"-Wmissing-declarations",
|
"-Wmissing-declarations",
|
||||||
|
Loading…
Reference in New Issue
Block a user