diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-11-18 03:52:05 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-11-18 03:52:05 +0100 |
commit | 88608b1704ae8d701251614eb40c2e2e9e1f6d0e (patch) | |
tree | c7a3e11fd04aa4f060fddb0bbf66176742bbb35d /autogen.sh | |
parent | 13f362dec578cb7480f290b0c0b67068313db149 (diff) |
autogen.sh: fix -print-multi-os-directory usage
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autogen.sh b/autogen.sh index b4c853f977..ef3f579cbd 100755 --- a/autogen.sh +++ b/autogen.sh @@ -49,11 +49,11 @@ CFLAGS="-g -Wall \ if test -z "$1" -o "$1" = "install"; then args="--prefix=/usr --exec-prefix= --sysconfdir=/etc --with-selinux" - args="$args --with-libdir-name=$(basename $(gcc -print-multi-os-directory))" + args="$args --with-libdir-name=lib/$(gcc -print-multi-os-directory)" CFLAGS="$CFLAGS -O2" elif test "$1" = "devel" ; then args="--prefix=/usr --exec-prefix= --sysconfdir=/etc --with-selinux --enable-debug" - args="$args --with-libdir-name=$(basename $(gcc -print-multi-os-directory))" + args="$args --with-libdir-name=lib/$(gcc -print-multi-os-directory)" CFLAGS="$CFLAGS -O0" else args=$@ |