targeted builds and cross comp

This commit is contained in:
APEX FIGHT
2025-11-01 04:13:30 -04:00
parent 2388f4d202
commit fe4d6e8cc4

View File

@@ -35,14 +35,14 @@ cd "firefox-$MINORVERSION/js/src"
echo Making Build Path...
mkdir _build
cd _build
# https://clang.llvm.org/docs/CrossCompilation.html
echo Configuring build...
../configure --disable-jemalloc --with-system-zlib --with-system-icu --prefix="$BUILDPATH/bin" \
--with-intl-api --enable-optimize
../configure --disable-jemalloc --with-system-zlib --with-system-icu --prefix="$BUILDPATH/bin" --with-intl-api --enable-optimize --target=x86_64-pc-linux-gnu
echo Compiling...
make
make install
make -k
make -k install
echo Finished Building!