X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/a94aad87373ce549046bfbf17086ca09e9449fcc..f642dc617471830f6ec520c968d85071fd756347:/toolchain/gdb/Makefile?ds=sidebyside diff --git a/toolchain/gdb/Makefile b/toolchain/gdb/Makefile index e4d8235c6..be3e423a1 100644 --- a/toolchain/gdb/Makefile +++ b/toolchain/gdb/Makefile @@ -22,6 +22,7 @@ include $(INCLUDE_DIR)/host-build.mk define Build/Configure (cd $(PKG_BUILD_DIR); \ gdb_cv_func_sigsetjmp=yes \ + CFLAGS="-O2" \ $(PKG_BUILD_DIR)/configure \ --prefix=$(TOOLCHAIN_DIR)/usr \ --build=$(GNU_HOST_NAME) \ @@ -48,8 +49,8 @@ endef define Build/Clean rm -rf \ - $(PKG_BUILD_DIR) - $(TOOLCHAIN_DIR)/usr/bin/$(TARGET_CROSS)gdb + $(PKG_BUILD_DIR) \ + $(TOOLCHAIN_DIR)/usr/bin/$(TARGET_CROSS)gdb \ $(TOOLCHAIN_DIR)/usr/bin/$(GNU_TARGET_NAME)-gdb endef