mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-04 21:40:33 +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:
parent
2164d8aae8
commit
6f0092edb8
Notes:
sideshowbarker
2024-07-19 18:30:02 +09:00
Committer: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/6f0092edb84
1 changed files with 2 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue