helpers.sh: Add a helper function to call appropriate default stage function.

This commit is contained in:
Andrius Štikonas 2021-05-03 23:48:06 +01:00
parent 31caabdeef
commit a2c5745da4
34 changed files with 60 additions and 50 deletions

View file

@ -4,11 +4,11 @@
# SPDX-License-Identifier: GPL-3.0-or-later
src_unpack() {
default_src_unpack
default
}
src_prepare() {
default_src_prepare
default
# This is needed for building with TCC
sed -i 's/ix86_attribute_table\[\]/ix86_attribute_table\[10\]/' gcc/config/i386/i386.c
# Needed for musl

View file

@ -4,11 +4,11 @@
# SPDX-License-Identifier: GPL-3.0-or-later
src_unpack() {
default_src_unpack
default
}
src_prepare() {
default_src_prepare
default
# Needed for musl
sed -i 's/struct siginfo/siginfo_t/' gcc/config/i386/linux-unwind.h