mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-21 04:14:17 +08:00
Merge branch 'samuela-master-patch-72959' into 'master'
Fix sed call to work on macOS See merge request redox-os/cookbook!231
This commit is contained in:
commit
ad24e2b439
@ -19,7 +19,9 @@ function recipe_build {
|
||||
--prefix=/ \
|
||||
--enable-static \
|
||||
cross_compiling=yes
|
||||
sed -i 's|#define HAVE_GETRLIMIT 1|/* #undef HAVE_GETRLIMIT */|g' config.h
|
||||
|
||||
# See https://stackoverflow.com/questions/4247068/sed-command-with-i-option-failing-on-mac-but-works-on-linux.
|
||||
sed -i'' -e 's|#define HAVE_GETRLIMIT 1|/* #undef HAVE_GETRLIMIT */|g' config.h
|
||||
make -j"$(nproc)"
|
||||
skip=1
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user