[Buildroot] [PATCH] package/libxcrypt: --disable-werror to fix problem with sensitive compilers

guillaume.bressaix at gmail.com guillaume.bressaix at gmail.com
Sat Feb 20 17:38:15 UTC 2021


From: "Guillaume W. Bres" <guillaume.bressaix at gmail.com>

Fixes: http://autobuild.buildroot.net/results/e9a058a8c98daf197cd9d7ac632e0cb5707d524f

Some sensitive compilers may raise warnings that turn into errors.

Signed-off-by: Guillaume W. Bres <guillaume.bressaix at gmail.com>
---
 package/libxcrypt/libxcrypt.mk | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/package/libxcrypt/libxcrypt.mk b/package/libxcrypt/libxcrypt.mk
index 63132edd9d..ccbb1a282c 100644
--- a/package/libxcrypt/libxcrypt.mk
+++ b/package/libxcrypt/libxcrypt.mk
@@ -11,4 +11,7 @@ LIBXCRYPT_LICENSE_FILES = LICENSING COPYING.LIB
 LIBXCRYPT_INSTALL_STAGING = YES
 LIBXCRYPT_AUTORECONF = YES
 
+# Some warnings turn into errors with some sensitive compilers
+LIBXCRYPT_CONF_OPTS = --disable-werror
+
 $(eval $(autotools-package))
-- 
2.20.1




More information about the buildroot mailing list