diff options
author | John Rigby <john.rigby@linaro.org> | 2011-01-04 14:11:14 -0700 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2011-01-04 14:19:01 -0700 |
commit | a7f40a53d64103fa7455146d8f32807590f156f8 (patch) | |
tree | 545b32887b23ddc1c915abecc8b12c9580b9c00b /debian/rules | |
parent | a581cf741c49c220d159fac1fdbde28255c2e7e3 (diff) |
debian/rules: remove -Bsymbolic-functions from LDFLAGS
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 96fe90307..ab9ec6035 100755 --- a/debian/rules +++ b/debian/rules @@ -6,6 +6,10 @@ comma := , LDFLAGS := $(patsubst -Wl$(comma)%,%,$(LDFLAGS)) +# remove -Bsymbolic-functions from LDFLAGS because is messes up ld and some +# initializations end up being zero +LDFLAGS := $(patsubst -Bsymbolic-functions,,$(LDFLAGS)) + DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) |