Skip to content

Commit

Permalink
[gcc] Don't disable optimization on debug builds as it's required for…
Browse files Browse the repository at this point in the history
… _FORTIFY_SOURCE. Fixes JB#44874
  • Loading branch information
Andrew Branson committed Feb 21, 2019
1 parent a8671cd commit 77de87c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions maliit-framework/config.pri
Expand Up @@ -15,8 +15,8 @@ include(defines.pri)
# Linker optimization for release build
QMAKE_LFLAGS_RELEASE+=-Wl,--as-needed
# Compiler warnings are error if the build type is debug
QMAKE_CXXFLAGS_DEBUG+=-Werror -O0
QMAKE_CFLAGS_DEBUG+=-Werror -O0
QMAKE_CXXFLAGS_DEBUG+=-Werror
QMAKE_CFLAGS_DEBUG+=-Werror

OBJECTS_DIR = .obj
MOC_DIR = .moc
Expand Down

0 comments on commit 77de87c

Please sign in to comment.