aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Hsieh <andrewhsieh@google.com>2012-12-12 20:55:16 -0800
committerGerrit Code Review <noreply-gerritcodereview@google.com>2012-12-12 20:55:16 -0800
commit7a683436af4ec1627359a951a16bbbadaacc3e1e (patch)
tree32209fa814aa852933db29fd465656b166d11489
parent67ba0c8898e02223c06d5ef3e0376f60fdd1fe09 (diff)
parentcb3aee6ee66822b544ac679664d63a7b8e5d9a21 (diff)
downloadbuild-7a683436af4ec1627359a951a16bbbadaacc3e1e.tar.gz
Merge "libbfd: prevent from incorrect assignment of $CFLAGS"
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 4548d60..5e558b0 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -368,12 +368,12 @@ config-host-libbfd: stmp-config-host-libbfd
LIBBFD_CONFIG_ARGS=--prefix=$(prefix) \
--target=${target_alias} --host=${host} --build=${build} \
$(baseargs) --disable-shared \
- --enable-install-libbfd --with-included-gettext \
- CFLAGS="$(CFLAGS) -m32"
+ --enable-install-libbfd --with-included-gettext
stmp-config-host-libbfd: config.status
([ -d libbfd-${BINUTILS_VERSION} ] || \
mkdir libbfd-${BINUTILS_VERSION}) && \
(cd libbfd-${BINUTILS_VERSION} ; \
+ export CFLAGS="$(CFLAGS) -m32" ; \
$(call find-package-srcdir, ${BINUTILS_VERSION})/configure \
$(LIBBFD_CONFIG_ARGS)) && \
$(STAMP) $@