chiark / gitweb /
gcc: disable warn_unused_result attribute warnings
[elogind.git] / configure.ac
index 1d358d2c88cad6ae2376e66824117e640e0ccbdf..6e28bfcad013e872c02459ef7f51c6d5afa06771 100644 (file)
@@ -80,6 +80,7 @@ CC_CHECK_CFLAGS_APPEND([ \
         -Wno-overlength-strings \
         -Wno-unused-parameter \
         -Wno-missing-field-initializers \
+        -Wno-unused-result \
         -Wp,-D_FORTIFY_SOURCE=2 \
         -ffast-math \
         -fno-common \