diff options
Diffstat (limited to 'net-im/qtox/files/cflags.patch')
-rw-r--r-- | net-im/qtox/files/cflags.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/net-im/qtox/files/cflags.patch b/net-im/qtox/files/cflags.patch new file mode 100644 index 0000000..a972949 --- /dev/null +++ b/net-im/qtox/files/cflags.patch @@ -0,0 +1,12 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 92b128ff..aeaa5ab5 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -56,7 +56,6 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-rtti") + set(POSITION_INDEPENDENT_CODE True) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wstrict-overflow") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wstrict-aliasing") +-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror") + + if (NOT WIN32) + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fstack-protector-all") |