File: unforce-cxxflags.patch

package info (click to toggle)
libbpp-popgen 2.4.1-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,104 kB
  • sloc: cpp: 9,673; makefile: 27
file content (17 lines) | stat: -rw-r--r-- 576 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
From: Gert Wollny <gw.fossdev@gmail.com>
Date: Wed, 29 Jun 2014 16:52:43 +0200
Subject: Do not override Debian CXX flags
Comment: Upstream version 2.3.0 now has additional -std=c++11 which might
         be needed to be added explicitly

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,7 +9,7 @@ cmake_minimum_required (VERSION 2.8.11)
 project (bpp-popgen CXX)
 
 # Compile options
-set (CMAKE_CXX_FLAGS "-std=c++11 -Wall -Weffc++ -Wshadow -Wconversion")
+#set (CMAKE_CXX_FLAGS "-std=c++11 -g")
 
 IF(NOT CMAKE_BUILD_TYPE)
   SET(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING