diff options
author | John Marino <marino@FreeBSD.org> | 2015-02-25 19:52:43 +0000 |
---|---|---|
committer | John Marino <marino@FreeBSD.org> | 2015-02-25 19:52:43 +0000 |
commit | 4e9ccc2467d5a3025417963797b9ad5c567007d1 (patch) | |
tree | 50733f5a7d7e9f3c050d1abee63f1f073c5b3116 /graphics/code-eli | |
parent | ece5c8fe3b6a3df1f19924eedad9cb72e8b09a4c (diff) | |
download | ports-4e9ccc2467d5a3025417963797b9ad5c567007d1.tar.gz ports-4e9ccc2467d5a3025417963797b9ad5c567007d1.zip |
Notes
Diffstat (limited to 'graphics/code-eli')
-rw-r--r-- | graphics/code-eli/files/patch-cmake_ConfigureCompiler.cmake | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/graphics/code-eli/files/patch-cmake_ConfigureCompiler.cmake b/graphics/code-eli/files/patch-cmake_ConfigureCompiler.cmake new file mode 100644 index 000000000000..047bb1184b90 --- /dev/null +++ b/graphics/code-eli/files/patch-cmake_ConfigureCompiler.cmake @@ -0,0 +1,41 @@ +--- cmake/ConfigureCompiler.cmake.orig 2014-08-17 07:02:14 UTC ++++ cmake/ConfigureCompiler.cmake +@@ -135,7 +135,7 @@ if(NOT CONFIGURE_COMPILER_INCLUDED) + # set GNU Compiler Collection flags + if(CMAKE_C_COMPILER_ID STREQUAL "GNU") + set(CONFIGURE_COMPILER_SET_C_COMPILER_FLAGS ON) +- set(CMAKE_C_FLAGS "-pedantic -Wall -Wextra -fmessage-length=100 -std=c99" ++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic -Wall -Wextra -fmessage-length=100 -std=c99" + CACHE STRING "Flags used by the compiler during all build types." FORCE) + set(CMAKE_C_FLAGS_DEBUG "-DDEBUG -O0 -g" + CACHE STRING "Flags used by the compiler during debug builds." FORCE) +@@ -152,9 +152,9 @@ if(NOT CONFIGURE_COMPILER_INCLUDED) + if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU") + set(CONFIGURE_COMPILER_SET_CXX_COMPILER_FLAGS ON) + if (CMAKE_CXX_COMPILER_VERSION VERSION_LESS "4.7") +- set(CMAKE_CXX_FLAGS "-std=c++0x") ++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x") + else() +- set(CMAKE_CXX_FLAGS "-std=c++11") ++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") + endif() + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Wall -Wextra -Wno-long-long -fmessage-length=100" + CACHE STRING "Flags used by the compiler during all build types." FORCE) +@@ -189,7 +189,7 @@ if(NOT CONFIGURE_COMPILER_INCLUDED) + set(CMAKE_XCODE_ATTRIBUTE_GCC_WARN_INHIBIT_ALL_WARNINGS "YES") + set(CMAKE_XCODE_ATTRIBUTE_GCC_WARN_PEDANTIC "YES") + else() +- set(CMAKE_C_FLAGS "-pedantic -Wall -Wextra -fmessage-length=100 -std=c99" ++ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic -Wall -Wextra -fmessage-length=100 -std=c99" + CACHE STRING "Flags used by the compiler during all build types." FORCE) + endif() + set(CMAKE_C_FLAGS_DEBUG "-DDEBUG -O0 -g" +@@ -212,7 +212,7 @@ if(NOT CONFIGURE_COMPILER_INCLUDED) + set(CMAKE_XCODE_ATTRIBUTE_GCC_WARN_INHIBIT_ALL_WARNINGS "YES") + set(CMAKE_XCODE_ATTRIBUTE_GCC_WARN_PEDANTIC "YES") + else() +- set(CMAKE_CXX_FLAGS "-pedantic -Wall -Wextra -Wno-long-long -fmessage-length=100 -std=c++11 -stdlib=libc++" ++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Wall -Wextra -Wno-long-long -fmessage-length=100 -std=c++11 -stdlib=libc++" + CACHE STRING "Flags used by the compiler during all build types." FORCE) + endif() + set(CMAKE_CXX_FLAGS_DEBUG "-DDEBUG -O0 -g" |