File: unforce-cxxflags.patch

package info (click to toggle)
libbpp-raa 2.4.1-7
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 488 kB
  • sloc: ansic: 4,589; cpp: 938; makefile: 12
file content (20 lines) | stat: -rw-r--r-- 598 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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,8 +9,8 @@ cmake_minimum_required (VERSION 2.8.11)
 project (bpp-raa C CXX)
 
 # Compile options
-set (CMAKE_CXX_FLAGS "-std=c++11 -Wall")
+#set (CMAKE_CXX_FLAGS "-std=c++11 -g")
-set (CMAKE_C_FLAGS "-Wall")
+# set (CMAKE_C_FLAGS "-Wall")
 
 IF(NOT CMAKE_BUILD_TYPE)
   SET(CMAKE_BUILD_TYPE Release CACHE STRING