mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:37:44 +00:00
Ports: Remove some config.sub patches and download a fresh one if needed
All of these patches did the same thing, which is already in upstream config.sub. With this change, we need only add `use_fresh_config_sub=true` to the package.sh file. Note that this is not done automatically in case the port has a modified config.sub file.
This commit is contained in:
parent
87630c5fd5
commit
cdd6d68b2a
135 changed files with 128 additions and 816 deletions
|
@ -2,6 +2,7 @@
|
|||
port=binutils
|
||||
version=2.37
|
||||
useconfigure=true
|
||||
use_fresh_config_sub=true
|
||||
configopts=("--target=${SERENITY_ARCH}-pc-serenity" "--with-sysroot=/" "--with-build-sysroot=${SERENITY_INSTALL_ROOT}" "--disable-werror" "--disable-gdb" "--disable-nls")
|
||||
files="https://ftpmirror.gnu.org/gnu/binutils/binutils-${version}.tar.xz binutils-${version}.tar.xz 820d9724f020a3e69cb337893a0b63c2db161dadcb0e06fc11dc29eb1e84a32c"
|
||||
auth_type="sha256"
|
||||
|
|
|
@ -26,17 +26,6 @@ diff -Naur binutils-2.37/bfd/config.bfd binutils-2.37.serenity/bfd/config.bfd
|
|||
aarch64-*-darwin*)
|
||||
targ_defvec=aarch64_mach_o_vec
|
||||
targ_selvecs="arm_mach_o_vec mach_o_le_vec mach_o_be_vec mach_o_fat_vec"
|
||||
diff -Naur binutils-2.37/config.sub binutils-2.37.serenity/config.sub
|
||||
--- binutils-2.37/config.sub 2021-07-08 13:37:19.000000000 +0200
|
||||
+++ binutils-2.37.serenity/config.sub 2021-07-28 18:03:58.972705458 +0200
|
||||
@@ -1700,6 +1700,7 @@
|
||||
# The portable systems comes first.
|
||||
# Each alternative MUST end in a * to match a version number.
|
||||
gnu* | android* | bsd* | mach* | minix* | genix* | ultrix* | irix* \
|
||||
+ | serenity* \
|
||||
| *vms* | esix* | aix* | cnk* | sunos | sunos[34]* \
|
||||
| hpux* | unos* | osf* | luna* | dgux* | auroraux* | solaris* \
|
||||
| sym* | plan9* | psp* | sim* | xray* | os68k* | v88r* \
|
||||
diff -Naur binutils-2.37/gas/configure.tgt binutils-2.37.serenity/gas/configure.tgt
|
||||
--- binutils-2.37/gas/configure.tgt 2021-07-08 13:37:19.000000000 +0200
|
||||
+++ binutils-2.37.serenity/gas/configure.tgt 2021-07-28 18:03:58.972705458 +0200
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue