diff options
Diffstat (limited to 'headsetcontrol/debian/patches/warningsnoterrors.patch')
-rw-r--r-- | headsetcontrol/debian/patches/warningsnoterrors.patch | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/headsetcontrol/debian/patches/warningsnoterrors.patch b/headsetcontrol/debian/patches/warningsnoterrors.patch index 1b1a485..675406a 100644 --- a/headsetcontrol/debian/patches/warningsnoterrors.patch +++ b/headsetcontrol/debian/patches/warningsnoterrors.patch @@ -1,16 +1,13 @@ -From: B. Stack <bgstack15@gmail.com> -Author: Denis Arnst <git@sapd.eu> -Last-modified: 2024-12-30 14:33 -Description: - Remove the -Wall (formerly -Wall -Werror) from compile flags -Origin: headsetcontrol upstream +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 1c68a5b..be6ce2e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -36,7 +36,6 @@ IF (WIN32) +@@ -36,7 +36,7 @@ IF (WIN32) set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-Bstatic,--whole-archive -lwinpthread -Wl,--no-whole-archive") ENDIF() --set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall") +-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror") ++ set(CMAKE_EXPORT_COMPILE_COMMANDS ON) # ------------------------------------------------------------------------------ |