Skip to content

Commit

Permalink
package/debian: disable -Bsymbolic-functions.
Browse files Browse the repository at this point in the history
  • Loading branch information
mosra committed Apr 11, 2017
1 parent 0db92e7 commit e91175f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions package/debian/rules
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
#!/usr/bin/make -f

# For some crappy reason Ubuntu includes this flag by default when building deb
# packages. This breaks signal/slot connections across *.sos in
# Corrade::Interconnect library and as said on the links below, it has some
# noticeable unintended/dangerous effects as well, so I'm just disabling it
# globally. See:
# http://stackoverflow.com/questions/7216973/is-there-a-downside-to-using-bsymbolic-functions
# https://software.intel.com/en-us/articles/performance-tools-for-software-developers-bsymbolic-can-cause-dangerous-side-effects
export DEB_LDFLAGS_MAINT_STRIP = -Wl,-Bsymbolic-functions

%:
dh $@ --parallel

Expand Down

0 comments on commit e91175f

Please sign in to comment.