[packages/kde4-kdelibs] - append instead of overwritting flags

arekm arekm at pld-linux.org
Sun Nov 3 18:35:26 CET 2013


commit 747c33d9afb9bfa6bed01e329e8b4d8086f3151b
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Sun Nov 3 18:35:23 2013 +0100

    - append instead of overwritting flags

 kde4-kdelibs-pld-flags.patch | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/kde4-kdelibs-pld-flags.patch b/kde4-kdelibs-pld-flags.patch
index 04394c1..06e93be 100644
--- a/kde4-kdelibs-pld-flags.patch
+++ b/kde4-kdelibs-pld-flags.patch
@@ -4,13 +4,13 @@
     # Select flags.
     set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g -DNDEBUG -DQT_NO_DEBUG")
     set(CMAKE_CXX_FLAGS_RELEASE        "-O2 -DNDEBUG -DQT_NO_DEBUG")
-+   set(CMAKE_CXX_FLAGS_PLD           "-DNDEBUG -DQT_NO_DEBUG") 
++   set(CMAKE_CXX_FLAGS_PLD           "${CMAKE_CXX_FLAGS_PLD} -DNDEBUG -DQT_NO_DEBUG") 
     set(CMAKE_CXX_FLAGS_DEBUG          "-g -O2 -fno-reorder-blocks -fno-schedule-insns -fno-inline")
     set(CMAKE_CXX_FLAGS_DEBUGFULL      "-g3 -fno-inline")
     set(CMAKE_CXX_FLAGS_PROFILE        "-g3 -fno-inline -ftest-coverage -fprofile-arcs")
     set(CMAKE_C_FLAGS_RELWITHDEBINFO   "-O2 -g -DNDEBUG -DQT_NO_DEBUG")
     set(CMAKE_C_FLAGS_RELEASE          "-O2 -DNDEBUG -DQT_NO_DEBUG")
-+   set(CMAKE_C_FLAGS_PLD              "-DNDEBUG -DQT_NO_DEBUG")
++   set(CMAKE_C_FLAGS_PLD              "${CMAKE_C_FLAGS_PLD} -DNDEBUG -DQT_NO_DEBUG")
     set(CMAKE_C_FLAGS_DEBUG            "-g -O2 -fno-reorder-blocks -fno-schedule-insns -fno-inline")
     set(CMAKE_C_FLAGS_DEBUGFULL        "-g3 -fno-inline")
     set(CMAKE_C_FLAGS_PROFILE          "-g3 -fno-inline -ftest-coverage -fprofile-arcs")
@@ -18,13 +18,13 @@
     # Select flags.
     set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g -DNDEBUG -DQT_NO_DEBUG")
     set(CMAKE_CXX_FLAGS_RELEASE        "-O2 -DNDEBUG -DQT_NO_DEBUG")
-+   set(CMAKE_CXX_FLAGS_PLD            "-DNDEBUG -DQT_NO_DEBUG")
++   set(CMAKE_CXX_FLAGS_PLD            "${CMAKE_CXX_FLAGS_PLD} -DNDEBUG -DQT_NO_DEBUG")
     set(CMAKE_CXX_FLAGS_DEBUG          "-g -O2 -fno-inline")
     set(CMAKE_CXX_FLAGS_DEBUGFULL      "-g3 -fno-inline")
     set(CMAKE_CXX_FLAGS_PROFILE        "-g3 -fno-inline -ftest-coverage -fprofile-arcs")
     set(CMAKE_C_FLAGS_RELWITHDEBINFO   "-O2 -g -DNDEBUG -DQT_NO_DEBUG")
     set(CMAKE_C_FLAGS_RELEASE          "-O2 -DNDEBUG -DQT_NO_DEBUG")
-+   set(CMAKE_C_FLAGS_PLD              "-DNDEBUG -DQT_NO_DEBUG")
++   set(CMAKE_C_FLAGS_PLD              "${CMAKE_C_FLAGS_PLD} -DNDEBUG -DQT_NO_DEBUG")
     set(CMAKE_C_FLAGS_DEBUG            "-g -O2 -fno-inline")
     set(CMAKE_C_FLAGS_DEBUGFULL        "-g3 -fno-inline")
     set(CMAKE_C_FLAGS_PROFILE          "-g3 -fno-inline -ftest-coverage -fprofile-arcs")
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/kde4-kdelibs.git/commitdiff/747c33d9afb9bfa6bed01e329e8b4d8086f3151b



More information about the pld-cvs-commit mailing list