File: ignore-flags.patch

package info (click to toggle)
python-escript 5.6-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 144,252 kB
  • sloc: python: 592,062; cpp: 136,909; ansic: 18,675; javascript: 9,411; xml: 3,384; sh: 740; makefile: 203
file content (19 lines) | stat: -rw-r--r-- 821 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Ignore new ASFLAGS, DFLAG in dpkg-buildflags.
Author: Alastair McKinstry <mckinstry@debian.org>
Bug-Origin: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986516
Forwarded: no
Last-Updated: 2021-12-14

Index: python-escript-5.6/site_scons/extractdebbuild.py
===================================================================
--- python-escript-5.6.orig/site_scons/extractdebbuild.py
+++ python-escript-5.6/site_scons/extractdebbuild.py
@@ -31,7 +31,7 @@ import sys
 
 def getdebbuildflags():
   usedflags={'CFLAGS':None, 'CPPFLAGS':'cpp_flags', 'CXXFLAGS':'cxx_extra', 'LDFLAGS':'ld_extra'}
-  ignoreflags=['FFLAGS','FCFLAGS', 'GCJFLAGS','OBJCFLAGS','OBJCXXFLAGS']
+  ignoreflags=['FFLAGS','FCFLAGS', 'GCJFLAGS','OBJCFLAGS','OBJCXXFLAGS', 'DFLAGS', 'ASFLAGS']
   mycflags=None
   mycxxflags=None
   try: