mirror of
https://github.com/matrix-construct/construct
synced 2025-01-14 16:46:50 +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 in non-optimized mode as well as optimized mode so they are as similar as
|
||||||
dnl possible without impacting debuggability.
|
dnl possible without impacting debuggability.
|
||||||
CXXFLAGS+=" -falign-functions"
|
CXXFLAGS+=" -falign-functions"
|
||||||
CXXFLAGS+=" -falign-labels"
|
|
||||||
CXXFLAGS+=" -falign-loops"
|
|
||||||
CXXFLAGS+=" -falign-jumps"
|
|
||||||
dnl CXXFLAGS+=" -fdata-sections"
|
dnl CXXFLAGS+=" -fdata-sections"
|
||||||
dnl CXXFLAGS+=" -ffunction-sections"
|
dnl CXXFLAGS+=" -ffunction-sections"
|
||||||
CXXFLAGS+=" -ftree-vectorize"
|
CXXFLAGS+=" -ftree-vectorize"
|
||||||
|
|
||||||
AM_COND_IF([GCC],
|
AM_COND_IF([GCC],
|
||||||
[
|
[
|
||||||
|
CXXFLAGS+=" -falign-labels"
|
||||||
|
CXXFLAGS+=" -falign-loops"
|
||||||
|
CXXFLAGS+=" -falign-jumps"
|
||||||
|
|
||||||
CXXFLAGS+=" -ftree-vrp"
|
CXXFLAGS+=" -ftree-vrp"
|
||||||
CXXFLAGS+=" -ftree-dce"
|
CXXFLAGS+=" -ftree-dce"
|
||||||
CXXFLAGS+=" -ftree-dse"
|
CXXFLAGS+=" -ftree-dse"
|
||||||
|
|
Loading…
Reference in a new issue