aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Rigby <john.rigby@linaro.org>2011-01-04 14:11:14 -0700
committerEric Miao <eric.miao@linaro.org>2011-03-07 22:53:11 +0800
commite10b8351af1a35c45610a8e0380485426bbdf46c (patch)
treeb96986224811527ed8df22d90ecab534111da707
parent45b09c235dda460da1cab49c9a1b3e5a380931c6 (diff)
downloadu-boot-linaro-natty-e10b8351af1a35c45610a8e0380485426bbdf46c.tar.gz
debian/rules: remove -Bsymbolic-functions from LDFLAGS
-rwxr-xr-xdebian/rules4
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)