cookutils rev 1046

Tiny Edits
author Paul Issott <paul@slitaz.org>
date Sat Apr 07 06:19:04 2018 +0100 (2018-04-07)
parents 2ad4e06e9141
children 0616fab99da8
files cook cook.conf
line diff
     1.1 --- a/cook	Wed Apr 04 11:44:07 2018 +0300
     1.2 +++ b/cook	Sat Apr 07 06:19:04 2018 +0100
     1.3 @@ -1537,7 +1537,7 @@
     1.4  					| while read k; do
     1.5  						# make dir if it does not exist
     1.6  						if [ ! -d "$fs$k" ]; then
     1.7 -							# It's like "copy the directory without it's underlying content".
     1.8 +							# It's like "copy the directory without its underlying content".
     1.9  							# keep original ownership/permissions, access:
    1.10  							keepIFS="$IFS"; unset IFS
    1.11  							install -d $(stat -c'-o%u -g%g -m%a' "$install$k") "$fs$k"
     2.1 --- a/cook.conf	Wed Apr 04 11:44:07 2018 +0300
     2.2 +++ b/cook.conf	Sat Apr 07 06:19:04 2018 +0100
     2.3 @@ -77,9 +77,9 @@
     2.4  MAKEFLAGS="-j$(grep processor /proc/cpuinfo | wc -l)"
     2.5  
     2.6  # Note '-mindirect-branch=thunk' and friends appeared since GCC-7.3 and
     2.7 -# an earlier versions will produce comple errors.
     2.8 +# earlier versions will produce compile errors.
     2.9  # We use this flag against some flavors of the Spectre vulnerability.
    2.10 -# FIXME: it looks like the flag '-mindirect-branch=thunk-extern' recommended,
    2.11 +# FIXME: it looks like the flag '-mindirect-branch=thunk-extern' is recommended,
    2.12  # but no one app is compiled using it even using GCC-7.3. Is something wrong?
    2.13  case "$ARCH" in
    2.14  	i?86)   CFLAGS="-march=$ARCH  -Os -pipe -mindirect-branch=thunk -D_GLIBCXX_USE_C99_MATH=1";;
    2.15 @@ -91,7 +91,7 @@
    2.16  # Binutils 2.22 breaks many packages built without LDFLAGS set correctly.
    2.17  #LDFLAGS="-Wl,--copy-dt-needed-entries -lXt"
    2.18  
    2.19 -# These LDFLAGS will minify runtime dependencies (show by ldd)
    2.20 +# These LDFLAGS will minify runtime dependencies (shown by ldd)
    2.21  # in the most cases when libtool used.
    2.22  #   https://bugzilla.gnome.org/show_bug.cgi?id=655517
    2.23  #   https://wiki.gentoo.org/wiki/Project:Quality_Assurance/As-needed