mirror of
https://github.com/usatiuk/ficus.git
synced 2025-10-29 00:27:52 +01:00
sed fix
This commit is contained in:
@@ -46,7 +46,7 @@ MULTILIB_OPTIONS += mno-red-zone
|
||||
MULTILIB_DIRNAMES += no-red-zone
|
||||
EOF
|
||||
|
||||
sed -i .bak 's/x86_64-\*-elf\*)/x86_64-\*-elf\*)\n\ttmake_file="\${tmake_file} i386\/t-x86_64-elf"/g' "../gcc-13.2.0/gcc/config.gcc"
|
||||
sed -i.bak 's/x86_64-\*-elf\*)/x86_64-\*-elf\*)\n\ttmake_file="\${tmake_file} i386\/t-x86_64-elf"/g' "../gcc-13.2.0/gcc/config.gcc"
|
||||
|
||||
../gcc-13.2.0/configure --target=$TARGET --prefix="$PREFIX" --disable-nls --enable-languages=c,c++ --with-newlib --without-headers --enable-version-specific-runtime-libs $ADDONS
|
||||
make -j$(nproc) all-gcc
|
||||
|
||||
@@ -37,7 +37,7 @@ export PREFIX="$OS2_ROOT/toolchain/limine/prefix"
|
||||
export PATH="$PREFIX/bin:$PATH"
|
||||
|
||||
# fix for old make
|
||||
grep -rl "define DEFAULT_VAR =" ../limine-5.20230830.0 | xargs sed -i "" -e 's/define DEFAULT_VAR =/define DEFAULT_VAR/g'
|
||||
grep -rl "define DEFAULT_VAR =" ../limine-5.20230830.0 | xargs sed -i.bak -e 's/define DEFAULT_VAR =/define DEFAULT_VAR/g'
|
||||
|
||||
../limine-5.20230830.0/configure --disable-werror --enable-bios-cd --enable-bios --enable-uefi-ia32 --enable-uefi-x86-64 --enable-uefi-cd \
|
||||
--prefix="$PREFIX"
|
||||
|
||||
Reference in New Issue
Block a user