diff options
Diffstat (limited to 'mk/wrapper/transform-gcc')
-rw-r--r-- | mk/wrapper/transform-gcc | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/mk/wrapper/transform-gcc b/mk/wrapper/transform-gcc index 3dd6624d7fb..cceabccb240 100644 --- a/mk/wrapper/transform-gcc +++ b/mk/wrapper/transform-gcc @@ -1,4 +1,4 @@ -# $NetBSD: transform-gcc,v 1.29 2013/12/31 13:56:35 tron Exp $ +# $NetBSD: transform-gcc,v 1.30 2016/03/11 23:03:31 khorben Exp $ # # This file handles the transformations needed for gcc that can be done # looking at only one argument at a time. @@ -43,10 +43,14 @@ case $arg in -fomit-frame-pointer |\ -fPIC |\ -fpic |\ +-fPIE |\ +-fpie |\ -fpcc-struct-return |\ -freg-struct-return |\ -frename-registers |\ -fsigned-char |\ +-fstack-protector |\ +-fstack-protector-all |\ -funroll-loops |\ -funsigned-char |\ -fweb |\ @@ -74,6 +78,8 @@ case $arg in -print-search-dirs |\ -S |\ -shared |\ +-shared-gcc |\ +-shared-libgcc |\ -static |\ -std=c99 |\ -std=gnu89 |\ @@ -90,6 +96,7 @@ case $arg in -Werror |\ -Werror-implicit-function-declaration |\ -Wformat* |\ +-Winline |\ -Wmissing-declarations |\ -Wmissing-format-attribute |\ -Wmissing-prototypes |\ @@ -110,12 +117,14 @@ case $arg in -Wno-write-strings |\ -Wparentheses |\ -Wpointer-arith |\ +-Wredundant-decls |\ -Wreturn-type |\ -Wshadow |\ -Wsign-compare |\ -Wstrict-aliasing |\ -Wstrict-prototypes |\ -Wswitch |\ +-Wtrigraphs |\ -Wunused |\ -Wundef |\ -Wwrite-strings ) transform_pass ;; |