File: buildflags.patch

package info (click to toggle)
assembly-stats 1.0.1%2Bds-8
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 288 kB
  • sloc: cpp: 799; sh: 31; makefile: 9
file content (18 lines) | stat: -rw-r--r-- 641 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: propagate Debian build flags.
Author: Étienne Mollier <emollier@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1119352
Forwarded: not-needed
Last-Update: 2025-12-05
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- assembly-stats.orig/CMakeLists.txt
+++ assembly-stats/CMakeLists.txt
@@ -1,7 +1,7 @@
 cmake_minimum_required (VERSION 3.5)
 project (assembly-stats)
 
-set (CMAKE_CXX_FLAGS "-Wall -g -O3 -pthread")
+set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -g -O3 -pthread")
 
 file(COPY test_files DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
 #add_subdirectory(gtest-1.7.0)