diff options
author | lloyd <[email protected]> | 2014-10-31 09:49:12 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-10-31 09:49:12 +0000 |
commit | c73931412c11bc5f6aae32e0f9e2af21714ef5d4 (patch) | |
tree | f340232ce4002538790248ead6ca3a53e4b98343 /src/build-data/cc/gcc.txt | |
parent | 71e9b91eea49d53853250e56fcbc42c4ca59dd93 (diff) |
Use -O2 instead of -O3 with GCC as it seems tree-vectorize in 4.9.0
causes problems when it converts unaligned loads to aligned SSE loads.
Diffstat (limited to 'src/build-data/cc/gcc.txt')
-rw-r--r-- | src/build-data/cc/gcc.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/build-data/cc/gcc.txt b/src/build-data/cc/gcc.txt index 2aff1bf6b..3872dfdbf 100644 --- a/src/build-data/cc/gcc.txt +++ b/src/build-data/cc/gcc.txt @@ -8,11 +8,11 @@ add_include_dir_option -I add_lib_dir_option -L add_lib_option -l -lang_flags "-std=c++11 -D_REENTRANT -D_FORTIFY_SOURCE=2 -fstack-protector" +lang_flags "-std=c++11 -D_REENTRANT -fstack-protector" maintainer_warning_flags "-Werror -Wno-error=old-style-cast -Wno-error=zero-as-null-pointer-constant -Wno-error=unused-parameter -Wno-error=unused-variable -Wno-error=strict-overflow" warning_flags "-Wall -Wextra -Wstrict-aliasing -Wstrict-overflow=5 -Wcast-align -Wmissing-declarations -Wpointer-arith -Wcast-qual -Wold-style-cast -Wzero-as-null-pointer-constant" -lib_opt_flags "-O3" +lib_opt_flags "-O2" app_opt_flags "-O2" shared_flags "-fPIC" debug_flags "-g" |