aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorPhilipp Janda <siffiejoe@gmx.net>2013-09-27 01:30:59 +0200
committerPhilipp Janda <siffiejoe@gmx.net>2013-09-27 01:30:59 +0200
commit216f3601359ecf216683edb40a7da78824aa042c (patch)
tree7a442da0fab036e5d381ebdc0a3a5606f258b489 /configure
parent0455050ffb17b0da1c614b8e34f8bf797467d520 (diff)
downloadluarocks-216f3601359ecf216683edb40a7da78824aa042c.tar.gz
luarocks-216f3601359ecf216683edb40a7da78824aa042c.tar.bz2
luarocks-216f3601359ecf216683edb40a7da78824aa042c.zip
changed multiarch detection and site_config variables
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 0e64fb55..579e96f5 100755
--- a/configure
+++ b/configure
@@ -399,7 +399,7 @@ fi
399 399
400if [ "$LUAROCKS_UNAME_S" = Linux ] 400if [ "$LUAROCKS_UNAME_S" = Linux ]
401then 401then
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"