summaryrefslogtreecommitdiff
path: root/misc/iio-oscilloscope/files/patch-CMakeLists.txt
blob: a31b016e2f00e90017f4ff22e716385500c40711 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- CMakeLists.txt.orig	2023-12-04 15:03:14 UTC
+++ CMakeLists.txt
@@ -86,10 +86,9 @@ add_definitions(-D_GNU_SOURCE
 	${GIT_VERSION}
 	${GIT_COMMIT_TIMESTAMP}
 	-DGTK_DISABLE_DEPRECATED
-	-D_POSIX_C_SOURCE=200809L
 )
 
-add_compile_options(-Wall -Wextra -Werror
+add_compile_options(-Wall -Wextra
 	-Wno-unused-parameter
 	-Wno-error=unused-but-set-variable
 	-Wno-error=unused-function