1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 03:07:35 +00:00

Ports: Update the gcc port with the patches from the toolchain

This commit is contained in:
Gunnar Beutner 2021-04-17 01:42:22 +02:00 committed by Andreas Kling
parent 6cb28ecee8
commit 407b066ba4
3 changed files with 42 additions and 6 deletions

View file

@ -16,6 +16,11 @@ post_fetch() {
run contrib/download_prerequisites
}
pre_configure() {
patch_internal
run sed -i 's@-fno-exceptions @@' gcc/config/serenity.h
}
build() {
run make $makeopts
run find "./host-${SERENITY_ARCH}-pc-serenity/gcc/" -maxdepth 1 -type f -executable -exec strip --strip-debug {} \; || echo