void-packages/srcpkgs/qtox/patches/Werror.patch

14 lines
452 B
Diff

https://github.com/qTox/qTox/issues/4699
https://github.com/qTox/qTox/issues/4707
--- CMakeLists.txt
+++ CMakeLists.txt
@@ -53,7 +53,6 @@
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIE -fPIC")
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")