From f71e477dde8c08c57b50519507d71ce7a0a7fa7c Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Wed, 14 Oct 2020 13:25:51 +0300 Subject: [PATCH] libelf: fix build with Clang (submitted by @konimex). PR: https://github.com/kisslinux/repo/pull/230 --- extra/libelf/build | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extra/libelf/build b/extra/libelf/build index b4cf1d4c..5704a9db 100755 --- a/extra/libelf/build +++ b/extra/libelf/build @@ -15,7 +15,8 @@ sed -i 's/color.*printversion../#/g' lib/Makefile.in --prefix=/usr \ --disable-symbol-versioning \ --disable-debuginfod \ - --disable-nls + --disable-nls \ + ac_cv_c99=yes # Override check for Clang. # Skip the default make target and build only what we need. make -C lib