tlsh: respect -g + hardening
This commit is contained in:
parent
4d2890dcd4
commit
db4fec6ea4
|
@ -0,0 +1,13 @@
|
|||
Index: CMakeLists.txt
|
||||
===================================================================
|
||||
--- CMakeLists.txt.orig
|
||||
+++ CMakeLists.txt
|
||||
@@ -125,7 +125,7 @@ if (CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
endif()
|
||||
else(CMAKE_BUILD_TYPE STREQUAL Debug)
|
||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||
- set(CMAKE_CXX_FLAGS "-O2 -fvisibility=internal") ## Remove TlshImpl symbols
|
||||
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fvisibility=internal") ## Remove TlshImpl symbols
|
||||
endif()
|
||||
if(MSVC)
|
||||
set(CMAKE_CXX_FLAGS "/O2") ## Optimize
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'tlsh'
|
||||
pkgname=tlsh
|
||||
version=3.19.1
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cmake
|
||||
hostmakedepends="python3"
|
||||
makedepends="python3-devel"
|
||||
|
|
Loading…
Reference in New Issue