glew: cross build support.
This commit is contained in:
parent
e5b5e0ac52
commit
0864e603f7
|
@ -1,7 +1,7 @@
|
|||
# Template build file for 'glew'.
|
||||
pkgname=glew
|
||||
version=1.11.0
|
||||
revision=1
|
||||
revision=2
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libXext-devel libXmu-devel libXi-devel MesaLib-devel"
|
||||
short_desc="The OpenGL Extension Wrangler Library"
|
||||
|
@ -14,7 +14,7 @@ checksum=69bbce306ac281c4fa806a7a7d02c0596281a2d8f9d70690e98126f23ba513d6
|
|||
|
||||
do_build() {
|
||||
sed -i -e "s|lib64|lib|" config/Makefile.linux
|
||||
make CFLAGS.EXTRA="-fPIC $CFLAGS" LDFLAGS.EXTRA="$LDFLAGS" ${makejobs}
|
||||
make CC=$CC AR=$AR AS=$AS LD=$CC RANLIB=$RANLIB CFLAGS.EXTRA="-fPIC $CFLAGS" LDFLAGS.EXTRA="$LDFLAGS" ${makejobs}
|
||||
}
|
||||
|
||||
do_install() {
|
||||
|
|
Loading…
Reference in New Issue