mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
configure: Fix optimization flags not supported by clang.
This commit is contained in:
parent
b8c26b37b6
commit
81335d5aeb
1 changed files with 4 additions and 3 deletions
|
@ -547,15 +547,16 @@ dnl CXXFLAGS+=" -fbtr-bb-exclusive"
|
|||
dnl in non-optimized mode as well as optimized mode so they are as similar as
|
||||
dnl possible without impacting debuggability.
|
||||
CXXFLAGS+=" -falign-functions"
|
||||
CXXFLAGS+=" -falign-labels"
|
||||
CXXFLAGS+=" -falign-loops"
|
||||
CXXFLAGS+=" -falign-jumps"
|
||||
dnl CXXFLAGS+=" -fdata-sections"
|
||||
dnl CXXFLAGS+=" -ffunction-sections"
|
||||
CXXFLAGS+=" -ftree-vectorize"
|
||||
|
||||
AM_COND_IF([GCC],
|
||||
[
|
||||
CXXFLAGS+=" -falign-labels"
|
||||
CXXFLAGS+=" -falign-loops"
|
||||
CXXFLAGS+=" -falign-jumps"
|
||||
|
||||
CXXFLAGS+=" -ftree-vrp"
|
||||
CXXFLAGS+=" -ftree-dce"
|
||||
CXXFLAGS+=" -ftree-dse"
|
||||
|
|
Loading…
Reference in a new issue