elfutils: Pass -Wno-unused-result to silence warnings as errors
[openwrt/openwrt.git] / package / libs / elfutils / Makefile
index d764970..869513f 100644 (file)
@@ -68,7 +68,7 @@ endif
 CONFIGURE_ARGS += \
        --without-lzma
 
-TARGET_CFLAGS += -D_GNU_SOURCE
+TARGET_CFLAGS += -D_GNU_SOURCE -Wno-unused-result
 
 define Build/InstallDev
        $(INSTALL_DIR) $(1)/usr/include