Skip to content

Commit

Permalink
don't de-duplicate flags: "-param l1-cache-line-size=64 --param l1-ca…
Browse files Browse the repository at this point in the history
…che-size=32 --param l2-cache-size=8192" should all be preserved (and not just keep the last value)

git-svn-id: https://xpra.org/svn/Xpra/trunk@14933 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Feb 1, 2017
1 parent bdc2a3c commit 5a98ec2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -680,9 +680,6 @@ def exec_pkgconfig(*pkgs_options, **ekw):
add_to_keywords(kw, flag_map.get(token[:2]), token[2:])
else: # throw others to extra_link_args
add_to_keywords(kw, 'extra_link_args', token)
for k, v in kw.items(): # remove duplicates
seen = set()
kw[k] = [x for x in v if x not in seen and not seen.add(x)]
if warn_ENABLED:
if is_msvc():
add_to_keywords(kw, 'extra_compile_args', "/Wall")
Expand Down

0 comments on commit 5a98ec2

Please sign in to comment.