Do not force optimizations
This commit is contained in:
parent
819df1620c
commit
272cb9c4da
@ -1,11 +1,11 @@
|
||||
# $OpenBSD: Makefile,v 1.61 2013/03/11 11:35:46 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.62 2014/11/04 15:04:14 dcoppa Exp $
|
||||
|
||||
SHARED_ONLY= Yes
|
||||
|
||||
COMMENT= multi-purpose sniffer/interceptor/logger
|
||||
|
||||
DISTNAME= ettercap-0.7.5.3
|
||||
REVISION= 0
|
||||
REVISION= 1
|
||||
CATEGORIES= net
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ettercap/}
|
||||
|
||||
|
14
net/ettercap/patches/patch-CMakeLists_txt
Normal file
14
net/ettercap/patches/patch-CMakeLists_txt
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-CMakeLists_txt,v 1.1 2014/11/04 15:04:14 dcoppa Exp $
|
||||
--- CMakeLists.txt.orig Tue Nov 4 16:02:42 2014
|
||||
+++ CMakeLists.txt Tue Nov 4 16:03:22 2014
|
||||
@@ -36,8 +36,8 @@ set(INSTALL_EXECPREFIX ${INSTALL_PREFIX} CACHE PATH ""
|
||||
set(INSTALL_BINDIR ${INSTALL_PREFIX}/bin CACHE PATH "Binary files installation directory")
|
||||
set(MAN_INSTALLDIR ${INSTALL_PREFIX}/share/man CACHE PATH "Path for manual pages")
|
||||
|
||||
-set(CMAKE_C_FLAGS_DEBUG "-O0 -ggdb3 -DDEBUG -Wall -Wno-pointer-sign -pg" CACHE STRING "" FORCE)
|
||||
-set(CMAKE_C_FLAGS_RELEASE "-O2 -w" CACHE STRING "" FORCE)
|
||||
+set(CMAKE_C_FLAGS_DEBUG "-ggdb3 -DDEBUG -Wall -Wno-pointer-sign -pg" CACHE STRING "" FORCE)
|
||||
+set(CMAKE_C_FLAGS_RELEASE "-w" CACHE STRING "" FORCE)
|
||||
|
||||
if(OS_DARWIN)
|
||||
set(CMAKE_EXE_LINKER_FLAGS "-Wl" CACHE STRING "" FORCE)
|
Loading…
Reference in New Issue
Block a user