0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-23 20:38:20 +02:00

configure: Disable fweb for any debug compilations; disable for now.

This commit is contained in:
Jason Volk 2019-10-05 19:51:28 -07:00
parent 60e818b055
commit 925978aaa5

View file

@ -566,7 +566,6 @@ AM_COND_IF([OPTIMIZE],
AM_COND_IF([GCC],
[
CXXFLAGS+=" -fweb"
CXXFLAGS+=" -fgcse-sm"
CXXFLAGS+=" -fgcse-las"
CXXFLAGS+=" -frename-registers"
@ -575,6 +574,13 @@ AM_COND_IF([OPTIMIZE],
CXXFLAGS+=" -fbranch-target-load-optimize"
CXXFLAGS+=" -frerun-loop-opt"
CXXFLAGS+=" -fdevirtualize-at-ltrans"
dnl Optimization options that aren't compatible with debugging.
AM_COND_IF([DEBUG], [],
[
dnl CXXFLAGS+=" -fweb"
CXXFLAGS+=""
])
])
], [
optimize="no"