diff options
Diffstat (limited to 'development/gcc5/gcc5.SlackBuild')
-rw-r--r-- | development/gcc5/gcc5.SlackBuild | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/development/gcc5/gcc5.SlackBuild b/development/gcc5/gcc5.SlackBuild index 502a79cd7c..6aa368d36c 100644 --- a/development/gcc5/gcc5.SlackBuild +++ b/development/gcc5/gcc5.SlackBuild @@ -169,7 +169,7 @@ if [ ${MULTILIB} = "YES" ]; then else SLDESC="" fi -cat $CWD/slack-desc.gcc5 | sed -e "s/@MULTILIB@/${SLDESC}/" \ +cat $CWD/slack-desc | sed -e "s/@MULTILIB@/${SLDESC}/" \ > $PKG/install/slack-desc # Unpack the gcc sources: @@ -222,10 +222,10 @@ ANTLJAR=$(echo $CWD/antlr-*.jar | tail -1) # Fix perms/owners chown -R root:root . - find . -perm 777 -exec chmod 755 {} \; - find . -perm 775 -exec chmod 755 {} \; - find . -perm 754 -exec chmod 755 {} \; - find . -perm 664 -exec chmod 644 {} \; + find . -perm 777 -exec chmod 755 {} \+ + find . -perm 775 -exec chmod 755 {} \+ + find . -perm 754 -exec chmod 755 {} \+ + find . -perm 664 -exec chmod 644 {} \+ mkdir -p $PKG/usr/doc/gcc-$VERSION cp -a \ COPYING* ChangeLog* INSTALL \ @@ -331,9 +331,9 @@ ANTLJAR=$(echo $CWD/antlr-*.jar | tail -1) chown -R root:root . find . \ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ + -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + -exec chmod 644 {} \+ for patch in $CWD/fastjar-patches/* ; do cat $patch | patch -p1 --verbose || exit 1 done @@ -573,8 +573,8 @@ cat $CWD/libgcj-5.pc \ ## Strip bloated binaries and libraries: ( cd $PKG - find . -name "lib*so*" -exec strip --strip-unneeded "{}" \; - find . -name "lib*a" -exec strip -g "{}" \; + find . -name "lib*so*" -exec strip --strip-unneeded "{}" \+ + find . -name "lib*a" -exec strip -g "{}" \+ strip --strip-unneeded usr/bin/* 2> /dev/null find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null |