diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-04-06 11:55:37 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-04-06 11:55:37 +0000 |
commit | ba3a8e5afda493d9cb6ce96ebd54e5124ccba760 (patch) | |
tree | 5b2da0d2a8d437ec75dd8c7817f586e749479a5d /package/bash/bash.mk | |
parent | 27950be974ee73eebf79863e1d8bccd35cdaec45 (diff) | |
download | buildroot-novena-ba3a8e5afda493d9cb6ce96ebd54e5124ccba760.tar.gz buildroot-novena-ba3a8e5afda493d9cb6ce96ebd54e5124ccba760.zip |
- using target's LDFLAGS as LDFLAGS_FOR_BUILD is b0rked
Diffstat (limited to 'package/bash/bash.mk')
-rw-r--r-- | package/bash/bash.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/bash/bash.mk b/package/bash/bash.mk index a66e46393..55beae958 100644 --- a/package/bash/bash.mk +++ b/package/bash/bash.mk @@ -23,6 +23,8 @@ $(BASH_DIR)/.unpacked: $(DL_DIR)/$(BASH_SOURCE) # This is broken when -lintl is added to LIBS $(SED) 's,LIBS_FOR_BUILD =.*,LIBS_FOR_BUILD =,g' \ $(BASH_DIR)/builtins/Makefile.in + # using target's LDFLAGS as LDFLAGS_FOR_BUILD is b0rked + -$(SED) '/^LDFLAGS_FOR_BUILD/d' $(BASH_DIR)/{,*/{,*/}}Makefile.in $(CONFIG_UPDATE) $(BASH_DIR)/support touch $@ @@ -32,6 +34,7 @@ $(BASH_DIR)/.configured: $(BASH_DIR)/.unpacked $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ LDFLAGS="$(TARGET_LDFLAGS)" \ + CCFLAGS_FOR_BUILD="$(HOST_CFLAGS)" \ ac_cv_func_setvbuf_reversed=no \ ./configure \ --target=$(GNU_TARGET_NAME) \ |