69 |
export CXXFLAGS+=' -fno-delete-null-pointer-checks -fno-strict-aliasing -fno-tree-vrp -flto=3' |
export CXXFLAGS+=' -fno-delete-null-pointer-checks -fno-strict-aliasing -fno-tree-vrp -flto=3' |
70 |
export CC=gcc |
export CC=gcc |
71 |
export CXX=g++ |
export CXX=g++ |
72 |
|
export SHELL="${SHELL}" |
73 |
|
|
74 |
SRCSUBDIR="js/src" \ |
SRCSUBDIR="js/src" \ |
75 |
mconfigure \ |
mconfigure \ |
89 |
--without-system-icu \ |
--without-system-icu \ |
90 |
|| die |
|| die |
91 |
|
|
92 |
SRCSUBDIR="js/src" mmake || die |
# shell export fixes some bugs in a chroot environment |
93 |
|
# see: http://comments.gmane.org/gmane.linux.lfs.beyond.support/47450 |
94 |
|
SRCSUBDIR="js/src" SHELL="${SHELL}" mmake || die |
95 |
} |
} |
96 |
|
|
97 |
src_install() |
src_install() |
98 |
{ |
{ |
99 |
SRCSUBDIR="js/src" mmake DESTDIR=${BINDIR} install || die |
SRCSUBDIR="js/src" SHELL="${SHELL}" mmake DESTDIR=${BINDIR} install || die |
100 |
} |
} |