cf9febe624
better buildrequires OBS-URL: https://build.opensuse.org/package/show/network:utilities/netsniff-ng?expand=0&rev=11
24 lines
441 B
Diff
24 lines
441 B
Diff
--- src/CMakeLists.txt.orig 2012-03-30 06:51:48.795695591 +0200
|
|
+++ src/CMakeLists.txt 2012-03-30 06:52:25.829694273 +0200
|
|
@@ -15,12 +15,8 @@
|
|
INCLUDE(Pod2Man)
|
|
|
|
ADD_DEFINITIONS(
|
|
- -O3
|
|
- -fstack-protector
|
|
-fpie
|
|
-std=gnu99
|
|
- -fno-strict-aliasing
|
|
- -D_FORTIFY_SOURCE=2
|
|
-D_REENTRANT
|
|
-Wall
|
|
-Wundef
|
|
@@ -55,6 +51,7 @@
|
|
-Wfloat-equal
|
|
-Wunknown-pragmas
|
|
-Wunused-function
|
|
+ ${OPTFLAGS}
|
|
)
|
|
|
|
IF (CMAKE_BUILD_TYPE STREQUAL profile)
|