Fix some config issues.
authorManuel Novoa III <mjn3@codepoet.org>
Thu, 30 Sep 2004 00:51:53 +0000 (00:51 -0000)
committerManuel Novoa III <mjn3@codepoet.org>
Thu, 30 Sep 2004 00:51:53 +0000 (00:51 -0000)
make/gdb.mk

index 3d01e62d2520d7082a6d15fe3f6cb85e85f36deb..5340ab10e83d0f98e11c981d3994742c3d059789 100644 (file)
@@ -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