diff options
author | Philipp Janda <siffiejoe@gmx.net> | 2013-09-27 01:30:59 +0200 |
---|---|---|
committer | Philipp Janda <siffiejoe@gmx.net> | 2013-09-27 01:30:59 +0200 |
commit | 216f3601359ecf216683edb40a7da78824aa042c (patch) | |
tree | 7a442da0fab036e5d381ebdc0a3a5606f258b489 /configure | |
parent | 0455050ffb17b0da1c614b8e34f8bf797467d520 (diff) | |
download | luarocks-216f3601359ecf216683edb40a7da78824aa042c.tar.gz luarocks-216f3601359ecf216683edb40a7da78824aa042c.tar.bz2 luarocks-216f3601359ecf216683edb40a7da78824aa042c.zip |
changed multiarch detection and site_config variables
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -399,7 +399,7 @@ fi | |||
399 | 399 | ||
400 | if [ "$LUAROCKS_UNAME_S" = Linux ] | 400 | if [ "$LUAROCKS_UNAME_S" = Linux ] |
401 | then | 401 | then |
402 | GCC_ARCH=`gcc -dumpspecs 2>/dev/null | grep -A 1 "^*multilib:$" | tail -1 | cut -d: -f3 | cut -d' ' -f1` | 402 | GCC_ARCH=`gcc -print-multiarch 2>/dev/null` |
403 | if [ -n "$GCC_ARCH" -a -d "/usr/lib/$GCC_ARCH" ] | 403 | if [ -n "$GCC_ARCH" -a -d "/usr/lib/$GCC_ARCH" ] |
404 | then | 404 | then |
405 | MULTIARCH_SUBDIR="lib/$GCC_ARCH" | 405 | MULTIARCH_SUBDIR="lib/$GCC_ARCH" |