targeted builds and cross comp
This commit is contained in:
10
src/build.sh
10
src/build.sh
@@ -35,14 +35,14 @@ cd "firefox-$MINORVERSION/js/src"
|
|||||||
echo Making Build Path...
|
echo Making Build Path...
|
||||||
mkdir _build
|
mkdir _build
|
||||||
cd _build
|
cd _build
|
||||||
|
# https://clang.llvm.org/docs/CrossCompilation.html
|
||||||
echo Configuring build...
|
echo Configuring build...
|
||||||
../configure --disable-jemalloc --with-system-zlib --with-system-icu --prefix="$BUILDPATH/bin" \
|
../configure --disable-jemalloc --with-system-zlib --with-system-icu --prefix="$BUILDPATH/bin" --with-intl-api --enable-optimize --target=x86_64-pc-linux-gnu
|
||||||
--with-intl-api --enable-optimize
|
|
||||||
|
|
||||||
echo Compiling...
|
echo Compiling...
|
||||||
make
|
make -k
|
||||||
make install
|
make -k install
|
||||||
|
|
||||||
echo Finished Building!
|
echo Finished Building!
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user