Mercurial > vanilla
comparison core/attr/attr.sh @ 391:bdad6c7981e7
core: convert packages to clang
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 02 Apr 2019 13:33:22 +0200 |
parents | 9e95fda0e5c6 |
children | 515778c3a417 |
comparison
equal
deleted
inserted
replaced
390:94ef1383aa74 | 391:bdad6c7981e7 |
---|---|
23 PKGDOWNLOAD="https://download.savannah.gnu.org/releases/$PKGNAME/$PKGNAME-$PKGVERSION.tar.gz" | 23 PKGDOWNLOAD="https://download.savannah.gnu.org/releases/$PKGNAME/$PKGNAME-$PKGVERSION.tar.gz" |
24 PKGOPTIONS="NLS" | 24 PKGOPTIONS="NLS" |
25 | 25 |
26 : ${CHOST:=$(uname -m)-linux-musl} | 26 : ${CHOST:=$(uname -m)-linux-musl} |
27 : ${CBUILD:=$(uname -m)-linux-musl} | 27 : ${CBUILD:=$(uname -m)-linux-musl} |
28 : ${CC:=gcc} | 28 : ${CC:=clang} |
29 : ${CFLAGS:=-O2} | 29 : ${CFLAGS:=-O2} |
30 : ${LDFLAGS:=} | 30 : ${LDFLAGS:=} |
31 : ${LIBS:=} | 31 : ${LIBS:=} |
32 : ${NLS:=yes} | 32 : ${NLS:=yes} |
33 | 33 |