mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
20 lines
684 B
Diff
20 lines
684 B
Diff
--- CMakeLists.txt.orig 2022-11-13 05:38:55.000000000 +0800
|
|
+++ CMakeLists.txt 2022-11-13 05:46:46.000000000 +0800
|
|
@@ -114,7 +114,7 @@
|
|
try_compile(HAVE_POSIX_IOCTL
|
|
"${CMAKE_CURRENT_BINARY_DIR}/posix_ioctl_check.o"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/openbsd-compat/posix_ioctl_check.c"
|
|
- COMPILE_DEFINITIONS "-Werror -Woverflow -Wsign-conversion")
|
|
+ COMPILE_DEFINITIONS "-Woverflow -Wsign-conversion")
|
|
|
|
list(APPEND CHECK_VARIABLES
|
|
HAVE_ARC4RANDOM_BUF
|
|
@@ -271,7 +271,6 @@
|
|
|
|
add_compile_options(-Wall)
|
|
add_compile_options(-Wextra)
|
|
- add_compile_options(-Werror)
|
|
add_compile_options(-Wshadow)
|
|
add_compile_options(-Wcast-qual)
|
|
add_compile_options(-Wwrite-strings)
|