File: unforce-cxxflags.patch

package info (click to toggle)
libbpp-phyl 2.4.1-12
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,144 kB
  • sloc: cpp: 50,305; makefile: 13; perl: 6
file content (16 lines) | stat: -rw-r--r-- 526 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
From: Gert Wollny <gw.fossdev@gmail.com>
Date: Wed, 29 Jun 2014 16:52:43 +0200
Subject: Do not override Debian CXX flags
Forwarded: https://github.com/BioPP/bpp-phyl/pull/53

--- libbpp-phyl.orig/CMakeLists.txt
+++ libbpp-phyl/CMakeLists.txt
@@ -9,7 +9,7 @@
 project (bpp-phyl 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