File: cflags.patch

package info (click to toggle)
obitools 3.0.1~b26%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 26,788 kB
  • sloc: ansic: 24,299; python: 657; sh: 27; makefile: 20
file content (19 lines) | stat: -rw-r--r-- 663 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: complement CFLAGS instead of erasing them.
 This change allows forwarding Debian's build flags for hardening.
Author: Étienne Mollier <emollier@debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1119509
Forwarded: no
Last-Update: 2025-11-04
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- obitools.orig/setup.py
+++ obitools/setup.py
@@ -111,7 +111,7 @@
              'breathe>=4.0.0'
             ]
 
-os.environ['CFLAGS'] = '-O3 -w -I "src" -I "src/libecoPCR" -I "src/libjson"'
+os.environ['CFLAGS'] += ' -O3 -w -I "src" -I "src/libecoPCR" -I "src/libjson"'
 
 
 from Cython.Build import cythonize