summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-gfx/scantailor/files/scantailor-0.9.9-environment_flags.patch')
-rw-r--r--media-gfx/scantailor/files/scantailor-0.9.9-environment_flags.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/media-gfx/scantailor/files/scantailor-0.9.9-environment_flags.patch b/media-gfx/scantailor/files/scantailor-0.9.9-environment_flags.patch
new file mode 100644
index 000000000000..70d860ec3bef
--- /dev/null
+++ b/media-gfx/scantailor/files/scantailor-0.9.9-environment_flags.patch
@@ -0,0 +1,24 @@
+--- cmake/SetDefaultGccFlags.cmake.orig 2010-06-22 14:39:55.000000000 +0300
++++ cmake/SetDefaultGccFlags.cmake 2010-06-22 14:44:27.000000000 +0300
+@@ -24,21 +24,6 @@
+ ENDIF(visibility_supported_)
+
+ IF(NOT COMPILER_FLAGS_OVERRIDDEN)
+- # Flags common for all build configurations.
+- SET(
+- CMAKE_C_FLAGS
+- "-Wall -Wno-unused -ffast-math"
+- CACHE STRING "Common C flags for all build configurations." FORCE
+- )
+- SET(
+- CMAKE_CXX_FLAGS "${CMAKE_C_FLAGS}"
+- CACHE STRING "Common C++ flags for all build configurations." FORCE
+- )
+- SET(
+- CMAKE_EXE_LINKER_FLAGS "" CACHE STRING
+- "Common link flags for all build configurations." FORCE
+- )
+-
+ # Release
+ SET(
+ CMAKE_C_FLAGS_RELEASE