aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-05-09 12:11:34 +0300
committerCem Keylan <cem@ckyln.com>2020-05-09 12:11:34 +0300
commit5a7181e500db340bc86c8ee99a4472f29aefebfa (patch)
tree7c4cf7f6d9aea35948302b12df8e77d2e4dd097e /core
parentcf3d90718b49ca71bf54ac9ac383c0da06a2704e (diff)
downloadrepository-5a7181e500db340bc86c8ee99a4472f29aefebfa.tar.gz
gcc: use portable find syntax
Diffstat (limited to 'core')
-rwxr-xr-xcore/gcc/build6
1 files changed, 3 insertions, 3 deletions
diff --git a/core/gcc/build b/core/gcc/build
index e8a8c315..c6079c08 100755
--- a/core/gcc/build
+++ b/core/gcc/build
@@ -44,9 +44,9 @@ make
make DESTDIR="$1" install
# Save 35MB.
-find "$1" -name libgtkpeer.a -delete
-find "$1" -name libgjsmalsa.a -delete
-find "$1" -name libgij.a -delete
+find "$1" -name libgtkpeer.a -exec rm -f {} +
+find "$1" -name libgjsmalsa.a -exec rm -f {} +
+find "$1" -name libgij.a -exec rm -f {} +
# Some legacy programs will expect cc
ln -s gcc "$1/usr/bin/cc"