Skip to content

Commit

Permalink
add -Wl,-z,muldefs because very recent (rawhide) dbus has gained link…
Browse files Browse the repository at this point in the history
…age braindamage.
  • Loading branch information
karlkleinpaste committed Sep 24, 2017
1 parent 99768c7 commit bfb5198
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -2,6 +2,7 @@

* #822 prefs option not to use alternating fg/bg in parallel displays.
* update appdata to get screenshots from github, not sourceforge.
* add -Wl,-z,muldefs to stop failures from recent dbus braindamage.

2017-09-03 karl <charcoal@users.sf.net>

Expand Down
4 changes: 4 additions & 0 deletions wscript
Expand Up @@ -435,6 +435,10 @@ def configure(conf):
env.append_value('CXXFLAGS', ['-fno-delete-null-pointer-checks'])
env.append_value('CCFLAGS', ['-fno-delete-null-pointer-checks'])

# add a linker option to stop very recent dbus linkage nightmare.
if not env['IS_WIN32']:
env.append_value('LINKFLAGS', '-Wl,-z,muldefs')

if opt.delint:
env.append_value('CXXFLAGS', env['CXXFLAGS_DELINT'])
env.append_value('CCFLAGS', env['CCFLAGS_DELINT'])
Expand Down

0 comments on commit bfb5198

Please sign in to comment.