Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
LutzGross committed Mar 10, 2024
2 parents 805b988 + f976794 commit 28f7372
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions site_scons/extractdebbuild.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,15 @@ def getdebbuildflags():
continue
key=line[:ind]
val=line[ind+1:]
if key in ignoreflags:
continue
if key not in usedflags:
raise RuntimeError("Unknown key ("+key+") in dpkg-buildflags")
if key=="CFLAGS":
print(key, val)
if key in usedflags:
if key=="CFLAGS":
mycflags=val
if key=="CXXFLAGS":
if key=="CXXFLAGS":
mycxxflags=val
if mycflags is not None and mycxxflags is not None and mycflags!=mycxxflags:
if mycflags is not None and mycxxflags is not None and mycflags!=mycxxflags:
raise RuntimeError("We do not current support different different dpkg-buildflags for C vs C++")
if usedflags[key] is None:
if usedflags[key] is None:
continue
res.append([usedflags[key],val])
res.append([usedflags[key],val])
return res

0 comments on commit 28f7372

Please sign in to comment.