mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-23 13:24:17 +08:00
Add build argument to autotools stuff
This commit is contained in:
parent
e4521571da
commit
8f153efb38
@ -28,6 +28,8 @@ export RANLIB="${HOST}-gcc-ranlib"
|
||||
export READELF="${HOST}-readelf"
|
||||
export STRIP="${HOST}-strip"
|
||||
|
||||
BUILD="$(cc -dumpmachine)"
|
||||
|
||||
export PKG_CONFIG_FOR_BUILD="pkg-config"
|
||||
|
||||
if [[ "$OSTYPE" == "darwin"* ]]; then
|
||||
|
||||
@ -13,7 +13,7 @@ function recipe_update {
|
||||
|
||||
function recipe_build {
|
||||
wget -O build-aux/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure --host=${HOST} --prefix=''
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix=''
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -16,7 +16,7 @@ function recipe_build {
|
||||
sed -i 's|.*/doc/help2man.*|\&\& true|' Makefile.in
|
||||
sed -i 's|install-info-am install-man|install-info-am|' Makefile.in
|
||||
|
||||
./configure --host=${HOST} --prefix=''
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix=''
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -13,7 +13,7 @@ function recipe_update {
|
||||
|
||||
function recipe_build {
|
||||
wget -O support/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure --host=${HOST} --prefix=/ --disable-readline
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix=/ --disable-readline
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -16,7 +16,7 @@ function recipe_build {
|
||||
sysroot="$(realpath ../sysroot)"
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
export CPPFLAGS="-I$sysroot/include"
|
||||
./configure --host=${HOST} --prefix=/ --without-fonts
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix=/ --without-fonts
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -19,6 +19,7 @@ function recipe_build {
|
||||
autoreconf -i
|
||||
./configure \
|
||||
--prefix=/ \
|
||||
--build=${BUILD} \
|
||||
--host=${HOST} \
|
||||
--disable-tftp \
|
||||
--disable-ftp \
|
||||
|
||||
@ -13,7 +13,7 @@ function recipe_update {
|
||||
|
||||
function recipe_build {
|
||||
./autogen.sh
|
||||
./configure --host=${HOST} --prefix=/
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix=/ cross_compiling=yes
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -13,7 +13,7 @@ function recipe_update {
|
||||
|
||||
function recipe_build {
|
||||
autoreconf
|
||||
./configure --host=${HOST} --prefix=/
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix=/
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -19,7 +19,7 @@ function recipe_build {
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
./autogen.sh
|
||||
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure --host=${HOST} --prefix='' --disable-opengl --disable-sdltest --with-sdl-prefix="$sysroot"
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix='' --disable-opengl --disable-sdltest --with-sdl-prefix="$sysroot"
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -12,7 +12,7 @@ function recipe_update {
|
||||
}
|
||||
|
||||
function recipe_build {
|
||||
./configure --host=${HOST} --prefix=/
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix=/
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -18,6 +18,7 @@ function recipe_build {
|
||||
export CFLAGS="-I$sysroot/include"
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
./configure \
|
||||
--build=${BUILD} \
|
||||
--host="$HOST" \
|
||||
--prefix='' \
|
||||
--disable-server \
|
||||
|
||||
@ -16,7 +16,7 @@ function recipe_build {
|
||||
sysroot="$(realpath ../sysroot)"
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
export CPPFLAGS="-I$sysroot/include"
|
||||
./configure --host=${HOST} --prefix='/'
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix='/'
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -8,7 +8,7 @@ function recipe_update {
|
||||
}
|
||||
|
||||
function recipe_build {
|
||||
./configure --host=${HOST} --prefix=/ ac_cv_func_gethostbyname=no ac_cv_func_connect=no
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix=/ ac_cv_func_gethostbyname=no ac_cv_func_connect=no
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -27,6 +27,7 @@ function recipe_build {
|
||||
ln -sf "$sysroot/lib" "$sysroot/usr/lib"
|
||||
|
||||
./configure \
|
||||
--build=${BUILD} \
|
||||
--host=${HOST} \
|
||||
--target=${HOST} \
|
||||
--prefix=/ \
|
||||
|
||||
@ -18,6 +18,7 @@ function recipe_build {
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
wget -O build-aux/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure \
|
||||
--build=${BUILD} \
|
||||
--host=${HOST} \
|
||||
--prefix=/ \
|
||||
--disable-shared \
|
||||
|
||||
@ -19,7 +19,7 @@ function recipe_build {
|
||||
sysroot="$(realpath ../sysroot)"
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
export CPPFLAGS="-I$sysroot/include"
|
||||
./configure --host=${HOST} --prefix=/ ac_cv_fread_reads_directories=yes ac_cv_snprintf_returns_bogus=yes ac_cv_lib_curl_curl_global_init=yes CURL_CONFIG=no
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix=/ ac_cv_fread_reads_directories=yes ac_cv_snprintf_returns_bogus=yes ac_cv_lib_curl_curl_global_init=yes CURL_CONFIG=no
|
||||
make ${MAKEFLAGS} -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -17,6 +17,7 @@ function recipe_build {
|
||||
export CFLAGS="-I$sysroot/include"
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
glib_cv_stack_grows=no glib_cv_uscore=no ./autogen.sh \
|
||||
--build=${BUILD} \
|
||||
--host=${HOST} \
|
||||
--prefix=/ \
|
||||
--disable-shared \
|
||||
|
||||
@ -17,7 +17,7 @@ function recipe_build {
|
||||
mkdir -p "$sysroot/usr"
|
||||
ln -sf "$sysroot/include" "$sysroot/usr/include"
|
||||
ln -sf "$sysroot/lib" "$sysroot/usr/lib"
|
||||
./configure --host=${HOST} --target=${HOST} --prefix=/ --with-sysroot=/ --with-build-sysroot="$sysroot" --disable-gdb --disable-nls --disable-werror
|
||||
./configure --build=${BUILD} --host=${HOST} --target=${HOST} --prefix=/ --with-sysroot=/ --with-build-sysroot="$sysroot" --disable-gdb --disable-nls --disable-werror
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -12,7 +12,7 @@ function recipe_update {
|
||||
}
|
||||
|
||||
function recipe_build {
|
||||
./configure --host=${HOST} --prefix=/
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix=/
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -12,7 +12,7 @@ function recipe_update {
|
||||
}
|
||||
|
||||
function recipe_build {
|
||||
./configure --host=${HOST} --prefix=/ CFLAGS="-DPOSIX -DNO_ARCHIVES -DNO_OUTPUT_SYNC" --without-guile
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix=/ CFLAGS="-DPOSIX -DNO_ARCHIVES -DNO_OUTPUT_SYNC" --without-guile
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -19,6 +19,7 @@ function recipe_build {
|
||||
export GLIB_GENMARSHAL="$(which glib-genmarshal)"
|
||||
export GLIB_MKENUMS="$(which glib-mkenums)"
|
||||
./configure \
|
||||
--build=${BUILD} \
|
||||
--host=${HOST} \
|
||||
--prefix=/ \
|
||||
--disable-shared \
|
||||
|
||||
@ -20,6 +20,7 @@ function recipe_build {
|
||||
FREETYPE_CFLAGS="$("${PKG_CONFIG}" --cflags freetype2)"
|
||||
FREETYPE_LIBS="$("${PKG_CONFIG}" --libs freetype2)"
|
||||
./configure \
|
||||
--build=${BUILD} \
|
||||
--host=${HOST} \
|
||||
--prefix=/ \
|
||||
--disable-shared \
|
||||
|
||||
@ -15,7 +15,7 @@ function recipe_build {
|
||||
sysroot="$(realpath ../sysroot)"
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
export CPPFLAGS="-I$sysroot/include"
|
||||
./configure --host=${HOST} --prefix=/
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix=/
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -18,6 +18,7 @@ function recipe_build {
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure \
|
||||
--build=${BUILD} \
|
||||
--host=${HOST} \
|
||||
--prefix=/ \
|
||||
--disable-shared \
|
||||
|
||||
@ -12,7 +12,7 @@ function recipe_update {
|
||||
}
|
||||
|
||||
function recipe_build {
|
||||
./configure --host=${HOST} --prefix='/' --disable-shared --enable-static
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix='/' --disable-shared --enable-static
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -12,7 +12,7 @@ function recipe_update {
|
||||
}
|
||||
|
||||
function recipe_build {
|
||||
./configure --host=${HOST} --prefix='/'
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix='/'
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -18,7 +18,7 @@ function recipe_build {
|
||||
export CPPFLAGS="-I$sysroot/include"
|
||||
chmod +w config.sub
|
||||
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure --host=${HOST} --prefix='/'
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix='/'
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -12,9 +12,8 @@ function recipe_update {
|
||||
}
|
||||
|
||||
function recipe_build {
|
||||
# Disclaimer: No idea what I'm doing
|
||||
./autogen.sh
|
||||
./configure --host=${HOST} --prefix='/'
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix='/'
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -21,6 +21,7 @@ function recipe_build {
|
||||
#export LLVM_CONFIG="x86_64-unknown-redox-llvm-config"
|
||||
NOCONFIGURE=1 ./autogen.sh
|
||||
./configure \
|
||||
--build=${BUILD} \
|
||||
--host="${HOST}" \
|
||||
--prefix=/ \
|
||||
--disable-dri \
|
||||
|
||||
@ -18,7 +18,7 @@ function recipe_build {
|
||||
export CPPFLAGS="-I$sysroot/include"
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure --host="${HOST}" --prefix=/ --enable-osmesa
|
||||
./configure --build=${BUILD} --host="${HOST}" --prefix=/ --enable-osmesa
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -12,7 +12,7 @@ function recipe_update {
|
||||
}
|
||||
|
||||
function recipe_build {
|
||||
./configure --host=${HOST} --prefix=""
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix=""
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -16,7 +16,7 @@ function recipe_build {
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
export CPPFLAGS="-I$sysroot/include -I$sysroot/include/ncurses"
|
||||
./configure \
|
||||
--build x86_64-pc-linux-gnu \
|
||||
--build=${BUILD} \
|
||||
--host "$HOST"
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
|
||||
@ -14,6 +14,7 @@ function recipe_update {
|
||||
|
||||
function recipe_build {
|
||||
./configure \
|
||||
--build=${BUILD} \
|
||||
--host=${HOST} \
|
||||
--prefix="" \
|
||||
--disable-db-install \
|
||||
|
||||
@ -14,7 +14,7 @@ function recipe_update {
|
||||
|
||||
function recipe_build {
|
||||
export CPPFLAGS="-P"
|
||||
./configure --host=${HOST} --prefix="" --enable-widec --disable-db-install
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix="" --enable-widec --disable-db-install
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -24,7 +24,7 @@ function recipe_build {
|
||||
automake-1.11 --cygnus Makefile
|
||||
popd
|
||||
|
||||
CC= ./configure --target="${HOST}" --prefix=/
|
||||
CC= ./configure --build=${BUILD} --target="${HOST}" --prefix=/
|
||||
make all -j"$(nproc)"
|
||||
|
||||
skip=1
|
||||
|
||||
@ -21,7 +21,7 @@ function recipe_build {
|
||||
autoreconf -fvi
|
||||
autoconf
|
||||
wget -O build-aux/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure --host=${HOST} --prefix=''
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix=''
|
||||
make -j"$(nproc)" V=1
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -15,7 +15,7 @@ function recipe_update {
|
||||
|
||||
function recipe_build {
|
||||
./configure \
|
||||
--build=`gcc -dumpmachine` \
|
||||
--build=${BUILD} \
|
||||
--host=${HOST} \
|
||||
--prefix='' \
|
||||
--enable-static \
|
||||
|
||||
@ -14,7 +14,7 @@ function recipe_update {
|
||||
function recipe_build {
|
||||
wget -O build-aux/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
autoreconf
|
||||
./configure --host=${HOST} --prefix=/
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix=/
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -17,6 +17,7 @@ function recipe_build {
|
||||
export CFLAGS="-I$sysroot/include"
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
./configure \
|
||||
--build=${BUILD} \
|
||||
--host=${HOST} \
|
||||
--prefix=/ \
|
||||
--disable-shared \
|
||||
|
||||
@ -18,7 +18,7 @@ function recipe_build {
|
||||
tar --strip-components=1 -xvf perl-cross-1.1.6.tar.gz
|
||||
wget -O cnf/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
sysroot="$($HOST-gcc -print-sysroot)"
|
||||
./configure --target=${HOST} --prefix='/' --sysroot="$sysroot" --disable-mod=Sys-Syslog,Time-HiRes --with-libs='m'
|
||||
./configure --build=${BUILD} --target=${HOST} --prefix='/' --sysroot="$sysroot" --disable-mod=Sys-Syslog,Time-HiRes --with-libs='m'
|
||||
sed -i "s/^#define Netdb_name_t.*/#define Netdb_name_t const char*/" config.h # XXX
|
||||
sed -i 's/#define Strerror(e).*$/#define Strerror(e) strerror(e)/' config.h #
|
||||
echo "#define HAS_VPRINTF" >> config.h
|
||||
|
||||
@ -14,10 +14,11 @@ function recipe_update {
|
||||
function recipe_build {
|
||||
sysroot="$(realpath ../sysroot)"
|
||||
./configure \
|
||||
--host=${HOST} \
|
||||
--prefix=/ \
|
||||
--disable-shared \
|
||||
--enable-static
|
||||
--build=${BUILD} \
|
||||
--host=${HOST} \
|
||||
--prefix=/ \
|
||||
--disable-shared \
|
||||
--enable-static
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -16,7 +16,7 @@ function recipe_build {
|
||||
sysroot="$(realpath ../sysroot)"
|
||||
autoreconf -if
|
||||
wget -O autotools/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure --prefix=/ --host=${HOST} --disable-sdltest --disable-cpu-opt --disable-gl --without-net --with-sdl-prefix="$sysroot"
|
||||
./configure --prefix=/ --build=${BUILD} --host=${HOST} --disable-sdltest --disable-cpu-opt --disable-gl --without-net --with-sdl-prefix="$sysroot"
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -15,7 +15,7 @@ function recipe_update {
|
||||
|
||||
function recipe_build {
|
||||
cp ../config.site ./
|
||||
./configure --host=${HOST} --build=${ARCH} --prefix=/
|
||||
./configure --build=${BUILD} --host=${HOST} --build=${ARCH} --prefix=/
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -18,6 +18,7 @@ function recipe_build {
|
||||
export CPPFLAGS="-I$sysroot/include"
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
./configure \
|
||||
--build=${BUILD} \
|
||||
--host="${HOST}" \
|
||||
--prefix=/
|
||||
make -j"$(nproc)"
|
||||
|
||||
@ -16,7 +16,7 @@ function recipe_build {
|
||||
sysroot="$(realpath ../sysroot)"
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
export CFLAGS="-I$sysroot/include"
|
||||
./configure --disable-shared --host=${HOST} --prefix=""
|
||||
./configure --disable-shared --build=${BUILD} --host=${HOST} --prefix=""
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -19,7 +19,7 @@ function recipe_build {
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
export SDL_CONFIG="$sysroot/bin/sdl-config"
|
||||
autoreconf -i
|
||||
./configure --host=${HOST} --prefix=''
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix=''
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -18,6 +18,7 @@ function recipe_build {
|
||||
sysroot="$(realpath ../sysroot)"
|
||||
|
||||
./configure \
|
||||
--build=${BUILD} \
|
||||
--host=${HOST} \
|
||||
--prefix='' \
|
||||
--with-sdl-prefix="$sysroot" \
|
||||
|
||||
@ -18,6 +18,7 @@ function recipe_build {
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
./autogen.sh
|
||||
./configure \
|
||||
--build=${BUILD} \
|
||||
--host=${HOST} \
|
||||
--prefix=/ \
|
||||
--disable-shared \
|
||||
|
||||
@ -18,6 +18,7 @@ function recipe_build {
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
./autogen.sh
|
||||
./configure \
|
||||
--build=${BUILD} \
|
||||
--host=${HOST} \
|
||||
--prefix=/ \
|
||||
--disable-shared \
|
||||
|
||||
@ -17,7 +17,7 @@ function recipe_build {
|
||||
export CFLAGS="-I$sysroot/include"
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
./autogen.sh
|
||||
./configure --prefix=/ --host=${HOST} --disable-shared --disable-sdltest
|
||||
./configure --prefix=/ --build=${BUILD} --host=${HOST} --disable-shared --disable-sdltest
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -17,7 +17,7 @@ function recipe_build {
|
||||
export CFLAGS="-I$sysroot/include"
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
./autogen.sh
|
||||
./configure --prefix=/ --host=${HOST} --disable-shared --disable-sdltest --enable-png --enable-jpg
|
||||
./configure --prefix=/ --build=${BUILD} --host=${HOST} --disable-shared --disable-sdltest --enable-png --enable-jpg
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -19,6 +19,7 @@ function recipe_build {
|
||||
./autogen.sh
|
||||
./configure \
|
||||
--prefix=/ \
|
||||
--build=${BUILD} \
|
||||
--host=${HOST} \
|
||||
--disable-shared \
|
||||
--disable-sdltest \
|
||||
|
||||
@ -17,7 +17,7 @@ function recipe_build {
|
||||
export CFLAGS="-I$sysroot/include"
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
./autogen.sh
|
||||
./configure --prefix=/ --host=${HOST} --disable-shared --disable-sdltest
|
||||
./configure --prefix=/ --build=${BUILD} --host=${HOST} --disable-shared --disable-sdltest
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -12,7 +12,7 @@ function recipe_update {
|
||||
}
|
||||
|
||||
function recipe_build {
|
||||
./configure --host=${HOST} --prefix=/
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix=/
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -18,7 +18,7 @@ function recipe_build {
|
||||
export CFLAGS="-I$sysroot/include -I$sysroot/include/SDL"
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
export LIBS="-lSDL -lorbital" # TODO: Uses sdl-config instead of pkg-config
|
||||
./configure --host=${HOST} --prefix='' --with-sdl-prefix="$sysroot"
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix='' --with-sdl-prefix="$sysroot"
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -16,7 +16,7 @@ function recipe_build {
|
||||
sysroot="$(realpath ../sysroot)"
|
||||
export LDFLAGS="-L$sysroot/lib"
|
||||
export CPPFLAGS="-I$sysroot/include"
|
||||
./configure --host=${HOST} --prefix=/
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix=/
|
||||
make -j$(nproc)
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -16,7 +16,7 @@ function recipe_update {
|
||||
function recipe_build {
|
||||
autoreconf -f -i
|
||||
wget -O autoconf/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure --host=${HOST} --prefix='' --enable-vt100
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix='' --enable-vt100
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -23,7 +23,7 @@ function recipe_build {
|
||||
export vim_cv_getcwd_broken=yes
|
||||
export vim_cv_stat_ignores_slash=no
|
||||
export vim_cv_memmove_handles_overlap=yes
|
||||
./configure --host=${HOST} --prefix=/ --with-tlib=ncurses
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix=/ --with-tlib=ncurses
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -13,7 +13,7 @@ function recipe_update {
|
||||
|
||||
function recipe_build {
|
||||
wget -O config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure --host=${HOST} --prefix=''
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix=''
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
@ -15,7 +15,7 @@ function recipe_build {
|
||||
./autogen.sh
|
||||
chmod +w build-aux/config.sub
|
||||
wget -O build-aux/config.sub http://git.savannah.gnu.org/cgit/config.git/plain/config.sub
|
||||
./configure --host=${HOST} --prefix=/ --enable-threads=no
|
||||
./configure --build=${BUILD} --host=${HOST} --prefix=/ --enable-threads=no
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user