void-packages/srcpkgs/ympd/patches/fix-cflags.patch
Đoàn Trần Công Danh 84b80b4e17 ympd: hardening
2021-04-03 10:13:10 +07:00

13 lines
461 B
Diff

Index: CMakeLists.txt
===================================================================
--- CMakeLists.txt.orig
+++ CMakeLists.txt
@@ -24,7 +24,7 @@ include_directories(${PROJECT_BINARY_DIR
include(CheckCSourceCompiles)
-set(CMAKE_C_FLAGS "-std=gnu99 -Wall")
+set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -std=gnu99 -Wall")
set(CMAKE_C_FLAGS_DEBUG "-ggdb -pedantic")
if(WITH_IPV6)
set_property(DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS NS_ENABLE_IPV6)