|
@@ -6139,11 +6139,7 @@ elif enabled ccc; then |
|
|
add_cflags -msg_disable nonstandcast |
|
|
add_cflags -msg_disable nonstandcast |
|
|
add_cflags -msg_disable unsupieee |
|
|
add_cflags -msg_disable unsupieee |
|
|
elif enabled gcc; then |
|
|
elif enabled gcc; then |
|
|
case $gcc_basever in |
|
|
|
|
|
4.9*) enabled x86 || check_optflags -fno-tree-vectorize ;; |
|
|
|
|
|
4.*) check_optflags -fno-tree-vectorize ;; |
|
|
|
|
|
*) enabled x86 || check_optflags -fno-tree-vectorize ;; |
|
|
|
|
|
esac |
|
|
|
|
|
|
|
|
check_optflags -fno-tree-vectorize |
|
|
check_cflags -Werror=format-security |
|
|
check_cflags -Werror=format-security |
|
|
check_cflags -Werror=implicit-function-declaration |
|
|
check_cflags -Werror=implicit-function-declaration |
|
|
check_cflags -Werror=missing-prototypes |
|
|
check_cflags -Werror=missing-prototypes |
|
|