diff options
Diffstat (limited to 'source.local/l/pango/update-pango-querymodules')
-rw-r--r-- | source.local/l/pango/update-pango-querymodules | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/source.local/l/pango/update-pango-querymodules b/source.local/l/pango/update-pango-querymodules index 59c747b..1cada91 100644 --- a/source.local/l/pango/update-pango-querymodules +++ b/source.local/l/pango/update-pango-querymodules @@ -8,10 +8,18 @@ host=$(uname -m)-slackware-linux # Fix $host for arm arch: case "$host" in - armv7l*) hostqq=armv7l-slackware-linux-gnueabi - readelf /usr/bin/file -A | grep -q "Tag_FP_arch" && host=armv7hl-slackware-linux-gnueabi - ;; - arm*) host=arm-slackware-linux-gnueabi ;; + armv[6,7,8]*) + if readelf /usr/bin/file -A | grep -q "Tag_ABI_VFP_args: VFP registers" + then + # Hardfloat, rewrite armv7l -> armv7hl + host="$(echo $host | sed -e 's/\(armv.\)/\1h/')" + fi + host=$host-slackware-linux-gnueabi + ;; + arm*) + # Softfloat: + host=arm-slackware-linux-gnueabi + ;; esac # Deriving /etc/pango/$host location |