summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Jackiewicz <k.jackiewicz@samsung.com>2023-04-11 10:08:32 +0200
committerKrzysztof Jackiewicz <k.jackiewicz@samsung.com>2023-04-11 10:10:09 +0200
commita102967cbee1dafdabc2434a0ccde5fe094bac86 (patch)
tree9e594bc4e612c2b680d5479e0802528cbdc97247
parent3d4e5bb4091db16e7b8de25deccd82d7d949884a (diff)
downloadlibcryptsvc-a102967cbee1dafdabc2434a0ccde5fe094bac86.tar.gz
libcryptsvc-a102967cbee1dafdabc2434a0ccde5fe094bac86.tar.bz2
libcryptsvc-a102967cbee1dafdabc2434a0ccde5fe094bac86.zip
Fix debug build
gbs build --define "build_type DEBUG" was failing because of a typo Change-Id: I7e761b03c2e5ce6b03daee6362503664a87f11de
-rw-r--r--CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ec6b932..a57e6b1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,10 +7,10 @@ STRING(REGEX MATCH "([^.]*)" SO_VERSION "${VERSION}")
SET(EXTRA_CXXFLAGS "${EXTRA_CXXFLAGS} -std=c++0x")
-SET(CMAKE_C_FLAGS_PROFILING "-g -O0 -pg -Wp,-U_FORITY_SOURCE")
-SET(CMAKE_CXX_FLAGS_PROFILING "-g -O0 -pg -Wp,-U_FORITY_SOURCE ${EXTRA_CXXFLAGS}")
-SET(CMAKE_C_FLAGS_DEBUG "-g -O0 -ggdb -Wp,-U_FORITY_SOURCE")
-SET(CMAKE_CXX_FLAGS_DEBUG "-g -O0 -ggdb -Wp,-U_FORITY_SOURCE ${EXTRA_CXXFLAGS}")
+SET(CMAKE_C_FLAGS_PROFILING "-g -O0 -pg -Wp,-U_FORTIFY_SOURCE")
+SET(CMAKE_CXX_FLAGS_PROFILING "-g -O0 -pg -Wp,-U_FORTIFY_SOURCE ${EXTRA_CXXFLAGS}")
+SET(CMAKE_C_FLAGS_DEBUG "-g -O0 -ggdb -Wp,-U_FORTIFY_SOURCE")
+SET(CMAKE_CXX_FLAGS_DEBUG "-g -O0 -ggdb -Wp,-U_FORTIFY_SOURCE ${EXTRA_CXXFLAGS}")
SET(CMAKE_C_FLAGS_RELEASE "-g -O2")
SET(CMAKE_CXX_FLAGS_RELEASE "-g -O2 ${EXTRA_CXXFLAGS}")