Mercurial > vanilla
changeset 671:83854d0ac053
lib/isl: fix build with clang
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 01 Aug 2019 20:10:00 +0200 |
parents | ed3791383f29 |
children | 64c94cb80b66 |
files | lib/isl/isl.sh |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/isl/isl.sh Wed Jul 31 19:50:44 2019 +0200 +++ b/lib/isl/isl.sh Thu Aug 01 20:10:00 2019 +0200 @@ -25,10 +25,10 @@ : ${CHOST:=$(uname -m)-linux-musl} : ${CBUILD:=$(uname -m)-linux-musl} -: ${CC:=gcc} -: ${CFLAGS:=-O2} -: ${CXX:=g++} -: ${CXXFLAGS:=-O2} +: ${CC:=clang} +: ${CFLAGS:=-O2 -D_XOPEN_SOURCE} # required for clang/musl +: ${CXX:=clang++} +: ${CXXFLAGS:=-O2 -D_XOPEN_SOURCE} # required for clang/musl : ${LDFLAGS:=} : ${LIBS:=} @@ -47,7 +47,7 @@ ./configure \ --build=$CBUILD \ --host=$CHOST \ - --prefix= \ + --prefix=/. \ --disable-static \ --enable-shared \ --with-gmp=system