libelf: fix build with Clang (submitted by @konimex).

PR: https://github.com/kisslinux/repo/pull/230
This commit is contained in:
Dylan Araps 2020-10-14 13:25:51 +03:00
parent 69da3338c3
commit f71e477dde
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

View File

@ -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