0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 02:02:38 +01:00

configure: Add missing -g flag.

This commit is contained in:
Jason Volk 2018-09-18 19:13:14 -07:00
parent b979426f7a
commit 7bb8e9d5b6

View file

@ -393,10 +393,12 @@ AM_COND_IF([OPTIMIZE],
dnl CXXFLAGS+=" -fdevirtualize-at-ltrans"
dnl remember to axe this when lto is enabled
CXXFLAGS+=" -g"
CXXFLAGS+=" -ggdb"
], [
CXXFLAGS+=" -march=native"
CXXFLAGS+=" -O$optimize_level"
CXXFLAGS+=" -g"
CXXFLAGS+=" -ggdb"
])