Mercurial > vanilla
comparison x11/libpthread-stubs/libpthread-stubs.sh @ 439:2416430cff0b
x11: convert packages to clang
author | David Demelier <markand@malikania.fr> |
---|---|
date | Fri, 05 Apr 2019 20:10:00 +0200 |
parents | 5de141a57786 |
children | cacbd9d3d3a8 |
comparison
equal
deleted
inserted
replaced
438:c3114738e828 | 439:2416430cff0b |
---|---|
22 PKGSUMMARY="pthread functions for portability" | 22 PKGSUMMARY="pthread functions for portability" |
23 PKGDOWNLOAD="https://xcb.freedesktop.org/dist/$PKGNAME-$PKGVERSION.tar.gz" | 23 PKGDOWNLOAD="https://xcb.freedesktop.org/dist/$PKGNAME-$PKGVERSION.tar.gz" |
24 | 24 |
25 : ${CHOST:=$(uname -m)-linux-musl} | 25 : ${CHOST:=$(uname -m)-linux-musl} |
26 : ${CBUILD:=$(uname -m)-linux-musl} | 26 : ${CBUILD:=$(uname -m)-linux-musl} |
27 : ${CC:=gcc} | 27 : ${CC:=clang} |
28 : ${CFLAGS:=-O2} | 28 : ${CFLAGS:=-O2} |
29 : ${LDFLAGS:=} | 29 : ${LDFLAGS:=} |
30 : ${LIBS:=} | 30 : ${LIBS:=} |
31 | 31 |
32 build() | 32 build() |