diff options
Diffstat (limited to 'media-gfx/yafaray/files/yafaray-3.3.0-respect-cflags.patch')
-rw-r--r-- | media-gfx/yafaray/files/yafaray-3.3.0-respect-cflags.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/media-gfx/yafaray/files/yafaray-3.3.0-respect-cflags.patch b/media-gfx/yafaray/files/yafaray-3.3.0-respect-cflags.patch new file mode 100644 index 000000000000..c22ff7e41ea6 --- /dev/null +++ b/media-gfx/yafaray/files/yafaray-3.3.0-respect-cflags.patch @@ -0,0 +1,14 @@ +diff --git a/work/Core-3.3.0/CMakeLists.txt b/work/Core-3.3.0/CMakeLists.txt +index 75fd2c6..94c2502 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -219,9 +219,6 @@ if(NOT WIN32) + set(YAF_BINDINGS_RUBY_DIR ${YAF_LIB_DIR}) + endif(NOT YAF_BINDINGS_RUBY_DIR) + +- # build flags +- set(CMAKE_CXX_FLAGS "-Wall" CACHE STRING "Default compiler flags" FORCE) +- + if(USER_RELEASE_OPTIMIZATION_FLAGS) + set(YAF_CXX_FLAGS_RELEASE ${USER_RELEASE_OPTIMIZATION_FLAGS}) + else(USER_RELEASE_OPTIMIZATION_FLAGS) |