diff options
author | John Rigby <john.rigby@linaro.org> | 2011-01-04 14:11:14 -0700 |
---|---|---|
committer | Eric Miao <eric.miao@linaro.org> | 2011-03-07 22:53:11 +0800 |
commit | e10b8351af1a35c45610a8e0380485426bbdf46c (patch) | |
tree | b96986224811527ed8df22d90ecab534111da707 | |
parent | 45b09c235dda460da1cab49c9a1b3e5a380931c6 (diff) |
debian/rules: remove -Bsymbolic-functions from LDFLAGS
-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) |