mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-20 16:12:22 +01:00
remove fix-python.patch, not needed for this version add fix-Werror.patch, fixes -Werror flag in cmake files add dependencies which are needed to build this version 'make -j1' to fix fails on parallel build
14 lines
685 B
Diff
14 lines
685 B
Diff
Fix -Werror flags, build fails with them
|
|
|
|
--- a/CMakeScripts/DefineDependsandFlags.cmake
|
|
+++ b/CMakeScripts/DefineDependsandFlags.cmake
|
|
@@ -26,8 +26,6 @@
|
|
|
|
# Errors for common mistakes
|
|
list(APPEND INKSCAPE_CXX_FLAGS "-fstack-protector-strong")
|
|
-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") # -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)
|