msg2: hardening
This commit is contained in:
parent
57367a7692
commit
4670c4409e
|
@ -0,0 +1,13 @@
|
|||
Index: CMakeLists.txt
|
||||
===================================================================
|
||||
--- CMakeLists.txt.orig
|
||||
+++ CMakeLists.txt
|
||||
@@ -3,7 +3,7 @@ project(msg2)
|
||||
|
||||
# Flags
|
||||
set(CMAKE_CXX_STANDARD 17)
|
||||
-set(CMAKE_CXX_FLAGS "-Os -pipe -fPIC -fno-plt -fstack-protector-strong -Wall -Wshadow -pedantic -Wno-parentheses -Wfatal-errors")
|
||||
+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pipe -fPIC -fno-plt -fstack-protector-strong -Wall -Wshadow -pedantic -Wno-parentheses -Wfatal-errors")
|
||||
|
||||
# Add source files
|
||||
add_executable(msg2 main.cpp)
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'msg2'
|
||||
pkgname=msg2
|
||||
version=1.2.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=cmake
|
||||
short_desc="Output a blue arrow and a white message on the commandline"
|
||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||
|
|
Loading…
Reference in New Issue