diff options
| author | Marc Jeanmougin <marcjeanmougin@free.fr> | 2019-10-12 13:50:20 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marcjeanmougin@free.fr> | 2019-10-12 13:50:20 +0000 |
| commit | a2210263896f3d80228be7bba046059ccbdecbb6 (patch) | |
| tree | 541095701791f2d836bc7ff67e71d26db7ac67c0 /CMakeScripts | |
| parent | Move from deprecated GTimeVal to g_get_monotonic_time() (diff) | |
| download | inkscape-a2210263896f3d80228be7bba046059ccbdecbb6.tar.gz inkscape-a2210263896f3d80228be7bba046059ccbdecbb6.zip | |
Update DefineDependsandFlags.cmake
Diffstat (limited to 'CMakeScripts')
| -rw-r--r-- | CMakeScripts/DefineDependsandFlags.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeScripts/DefineDependsandFlags.cmake b/CMakeScripts/DefineDependsandFlags.cmake index a11050c94..996100b4d 100644 --- a/CMakeScripts/DefineDependsandFlags.cmake +++ b/CMakeScripts/DefineDependsandFlags.cmake @@ -29,7 +29,7 @@ endif() # Errors for common mistakes list(APPEND INKSCAPE_CXX_FLAGS "-Werror=format") # e.g.: printf("%s", std::string("foo")) list(APPEND INKSCAPE_CXX_FLAGS "-Werror=format-security") # e.g.: printf(variable); -list(APPEND INKSCAPE_CXX_FLAGS_DEBUG "-Og -Weffc++") # for _FORTIFY_SOURCE +list(APPEND INKSCAPE_CXX_FLAGS_DEBUG "-Og") # -Og for _FORTIFY_SOURCE. One could add -Weffc++ here to see approx. 6000 warnings list(APPEND INKSCAPE_CXX_FLAGS_DEBUG "-D_GLIBCXX_ASSERTIONS") if (CMAKE_COMPILER_IS_GNUCC) list(APPEND INKSCAPE_CXX_FLAGS_DEBUG "-fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables") |
