File: hardening

package info (click to toggle)
bppsuite 2.4.1-7
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,100 kB
  • sloc: cpp: 3,867; sh: 65; makefile: 5
file content (14 lines) | stat: -rw-r--r-- 492 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
From: Michael R. Crusoe <crusoe@debian.org>
Subject: Append to CXXFLAGS, don't overwrite them
Forwarded: https://github.com/BioPP/bppsuite/pull/18
--- bppsuite.orig/CMakeLists.txt
+++ bppsuite/CMakeLists.txt
@@ -8,7 +8,7 @@
 project (bppsuite CXX)
 
 # Compile options
-SET (CMAKE_CXX_FLAGS "-std=c++11 -Wall -Weffc++ -Wshadow -Wconversion")
+add_compile_options(-std=c++11 -Wall -Weffc++ -Wshadow -Wconversion)
 
 IF(NOT CMAKE_BUILD_TYPE)
   SET(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING