Browse Source

package/debian: disable -Bsymbolic-functions as it breaks Interconnect.

pull/203/merge
Vladimír Vondruš 9 years ago
parent
commit
40b261086d
  1. 10
      package/debian/rules

10
package/debian/rules vendored

@ -1,5 +1,15 @@
#!/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 (which may affect for example connecting the
# signals to Application interfaces) 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

Loading…
Cancel
Save