js: rebuild for arm/musl symbol versioning and unbreak PIE.
This commit is contained in:
parent
66447fa7b8
commit
57f41c3c2b
1 changed files with 3 additions and 3 deletions
|
@ -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";;
|
||||
|
|
Loading…
Add table
Reference in a new issue