summaryrefslogtreecommitdiff
path: root/package/gdb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/gdb/Makefile')
-rw-r--r--package/gdb/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/package/gdb/Makefile b/package/gdb/Makefile
index d14a71761..c29c48e65 100644
--- a/package/gdb/Makefile
+++ b/package/gdb/Makefile
@@ -16,6 +16,7 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GDB,gdb,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+TARGET_CFLAGS:= $(filter-out -flto,$(TARGET_CFLAGS))
TARGET_CFLAGS+= ${TARGET_CPPFLAGS} -fPIC
CONFIGURE_ARGS+= --without-uiout --enable-gdbmi \
--disable-tui --disable-gdbtk --without-x \