1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 05:47:34 +00:00

Ports: fix gcc for mac users

BSD sed differs from GNU sed with the `-i` option.
This commit changes the sed line in package.sh to be
portable across macOS and Linux.
This commit is contained in:
yegor 2021-06-04 08:46:32 -07:00 committed by Andreas Kling
parent 2164d8aae8
commit 6f0092edb8

View file

@ -15,7 +15,8 @@ post_fetch() {
pre_configure() {
patch_internal
run sed -i 's@-fno-exceptions @@' gcc/config/serenity.h
run sed -i.bak 's@-fno-exceptions @@' gcc/config/serenity.h
run rm -f gcc/config/serenity.h.bak
}
build() {