summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2004-09-30 00:51:53 +0000
committerManuel Novoa III <mjn3@codepoet.org>2004-09-30 00:51:53 +0000
commitb4e0fb5f1b41c89b027057bb79cb905194b741ae (patch)
tree3171727b7779c9f5ff1a9cb202cc422e6aa84e4b
parentb091812481bc9af92909dde3b836ddc78e81a4eb (diff)
Fix some config issues.
-rw-r--r--make/gdb.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/make/gdb.mk b/make/gdb.mk
index 3d01e62d2..5340ab10e 100644
--- a/make/gdb.mk
+++ b/make/gdb.mk
@@ -54,6 +54,7 @@ GDB_TARGET_CONFIGURE_VARS:= \
$(GDB_TARGET_DIR)/.configured: $(GDB_DIR)/.unpacked
mkdir -p $(GDB_TARGET_DIR)
(cd $(GDB_TARGET_DIR); \
+ gdb_cv_func_sigsetjmp=yes \
$(TARGET_CONFIGURE_OPTS) \
CFLAGS_FOR_TARGET="$(TARGET_CFLAGS)" \
$(GDB_TARGET_CONFIGURE_VARS) \
@@ -103,6 +104,7 @@ $(GDB_SERVER_DIR)/.configured: $(GDB_DIR)/.unpacked
mkdir -p $(GDB_SERVER_DIR)
(cd $(GDB_SERVER_DIR); \
$(TARGET_CONFIGURE_OPTS) \
+ gdb_cv_func_sigsetjmp=yes \
$(GDB_DIR)/gdb/gdbserver/configure \
--build=$(GNU_HOST_NAME) \
--host=$(REAL_GNU_TARGET_NAME) \
@@ -152,6 +154,7 @@ GDB_CLIENT_DIR:=$(TOOL_BUILD_DIR)/gdbclient-$(GDB_VERSION)
$(GDB_CLIENT_DIR)/.configured: $(GDB_DIR)/.unpacked
mkdir -p $(GDB_CLIENT_DIR)
(cd $(GDB_CLIENT_DIR); \
+ gdb_cv_func_sigsetjmp=yes \
$(GDB_DIR)/configure \
--prefix=$(STAGING_DIR) \
--build=$(GNU_HOST_NAME) \
@@ -161,6 +164,7 @@ $(GDB_CLIENT_DIR)/.configured: $(GDB_DIR)/.unpacked
--without-uiout --disable-gdbmi \
--disable-tui --disable-gdbtk --without-x \
--without-included-gettext \
+ --enable-threads \
);
touch $(GDB_CLIENT_DIR)/.configured