1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: Removed on Debian in favor of flags set by debhelper.
Author: Francisco Vilmar Cardoso Ruviaro <francisco.ruviaro@riseup.net>
Forwarded: not-needed
Last-Update: 2020-06-03
--- libcotp-1.2.2.orig/CMakeLists.txt
+++ libcotp-1.2.2/CMakeLists.txt
@@ -24,9 +24,9 @@ set(CMAKE_C_STANDARD 11)
set(COTP_HEADERS src/cotp.h)
set(SOURCE_FILES src/otp.c)
-
-set(CMAKE_C_FLAGS "-Wall -Wextra -O3 -Wno-format-truncation -fstack-protector-strong -fPIC")
-set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3")
+# Removed on Debian in favor of flags set by debhelper
+#set(CMAKE_C_FLAGS "-Wall -Wextra -O3 -Wno-format-truncation -fstack-protector-strong -fPIC")
+#set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3")
add_library(cotp SHARED ${SOURCE_FILES})
|