Mercurial > vanilla
diff graphics/weston/weston.sh @ 505:7828241c9634
graphics: convert packages to clang
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 09 Apr 2019 20:05:00 +0200 |
parents | 469cfbc5c465 |
children | b1690d766bdb |
line wrap: on
line diff
--- a/graphics/weston/weston.sh Mon Apr 08 20:41:30 2019 +0200 +++ b/graphics/weston/weston.sh Tue Apr 09 20:05:00 2019 +0200 @@ -25,7 +25,7 @@ : ${CHOST:=$(uname -m)-linux-musl} : ${CBUILD:=$(uname -m)-linux-musl} -: ${CC:=gcc} +: ${CC:=clang} : ${CFLAGS:=-O2} : ${LDFLAGS:=} : ${LIBS:=} @@ -60,6 +60,10 @@ tar xvaf $PKGNAME-$PKGVERSION.tar.xz pushd $PKGNAME-$PKGVERSION + # https://gitlab.freedesktop.org/wayland/weston/merge_requests/135 + patch -p1 < ../musl.patch + patch -p0 < ../gobject.patch + autoreconf -vif CC="$CC" \ CFLAGS="$CFLAGS" \ LDFLAGS="$LDFLAGS" \