js: rebuild for arm/musl symbol versioning and unbreak PIE.

This commit is contained in:
Juan RP 2015-11-29 19:41:38 +01:00
parent 66447fa7b8
commit 57f41c3c2b

View file

@ -1,7 +1,7 @@
# Template file for 'js'
pkgname=js
version=1.8.5
revision=9
revision=10
build_wrksrc="js/src"
build_style=gnu-configure
hostmakedepends="zip python perl nspr-devel"
@ -19,8 +19,8 @@ do_configure() {
if [ "$CROSS_BUILD" ]; then
export HOST_CC=cc
export HOST_CXX=g++
export HOST_CFLAGS="-Os -DFORCE_LITTLE_ENDIAN"
export HOST_CXXFLAGS="-Os -DFORCE_LITTLE_ENDIAN"
export HOST_CFLAGS="-Os -DFORCE_LITTLE_ENDIAN -fPIE"
export HOST_CXXFLAGS="-Os -DFORCE_LITTLE_ENDIAN -fPIE"
case "$XBPS_MACHINE" in
armv6l*) _args+=" --with-cpu-arch=armv6";;