mirror of
https://github.com/systemd/systemd.git
synced 2025-02-03 17:47:28 +03:00
autogen.sh: fix -print-multi-os-directory usage
This commit is contained in:
parent
13f362dec5
commit
88608b1704
@ -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=$@
|
||||
|
Loading…
x
Reference in New Issue
Block a user