diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2003-11-12 06:07:21 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2003-11-12 06:07:21 +0000 |
commit | f76193d6cb4b112df7a4a2b76984bfe988f9ba0f (patch) | |
tree | 009fc4ebb44ff3ab20db4afcfbc9b9a60e7adbcd /make/gdb.mk | |
parent | 3b738ef6dd924022e857991ee2480750efa68a84 (diff) | |
download | buildroot-novena-f76193d6cb4b112df7a4a2b76984bfe988f9ba0f.tar.gz buildroot-novena-f76193d6cb4b112df7a4a2b76984bfe988f9ba0f.zip |
Fix locale-enabled gdb build.
Diffstat (limited to 'make/gdb.mk')
-rw-r--r-- | make/gdb.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/make/gdb.mk b/make/gdb.mk index 88bd6d693..4c017db1e 100644 --- a/make/gdb.mk +++ b/make/gdb.mk @@ -15,7 +15,6 @@ $(DL_DIR)/$(GDB_SOURCE): $(GDB_DIR)/.unpacked: $(DL_DIR)/$(GDB_SOURCE) $(GDB_PATCH) gunzip -c $(DL_DIR)/$(GDB_SOURCE) | tar -C $(BUILD_DIR) -xvf - cat $(GDB_PATCH) | patch -p1 -d $(GDB_DIR) - #-perl -i -p -e "s,\@INTLLIBS\@,-lintl,g;" $(GDB_DIR)/gdb/Makefile.in touch $(GDB_DIR)/.unpacked $(GDB_DIR)/.configured: $(GDB_DIR)/.unpacked @@ -45,6 +44,9 @@ $(GDB_DIR)/.configured: $(GDB_DIR)/.unpacked --disable-sim --enable-gdbserver \ --without-included-gettext \ ); +ifeq ($(ENABLE_LOCALE),true) + -perl -i -p -e "s,^INTL *=.*,INTL = -lintl,g;" $(GDB_DIR)/gdb/Makefile +endif touch $(GDB_DIR)/.configured $(GDB_DIR)/gdb/gdb: $(GDB_DIR)/.configured |