elfutils: Ignore wrong use-after-free error
[openwrt/staging/stintel.git] / package / libs / elfutils / Makefile
index d4e5d994e8c4b996563ca65f5e3a7a2906cd6e8e..1e41e296b3a421e410e00498a547645a902f6ef8 100644 (file)
@@ -81,7 +81,7 @@ HOST_CONFIGURE_VARS += \
 CONFIGURE_VARS += \
        ac_cv_search__obstack_free=yes
 
-TARGET_CFLAGS += -D_GNU_SOURCE -Wno-unused-result -Wno-format-nonliteral
+TARGET_CFLAGS += -D_GNU_SOURCE -Wno-unused-result -Wno-format-nonliteral -Wno-error=use-after-free
 
 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include