mirror of
https://github.com/shadow-maint/shadow.git
synced 2024-11-27 03:53:59 +08:00
6fcc0f6756
Signed-off-by: Alejandro Colomar <alx@kernel.org>
25 lines
621 B
Bash
Executable File
25 lines
621 B
Bash
Executable File
#! /bin/sh
|
|
|
|
autoreconf -v -f --install "$(dirname "$0")" || exit 1
|
|
|
|
CFLAGS="-O2"
|
|
CFLAGS="$CFLAGS -Wall"
|
|
CFLAGS="$CFLAGS -Wextra"
|
|
CFLAGS="$CFLAGS -Werror=implicit-function-declaration"
|
|
CFLAGS="$CFLAGS -Werror=implicit-int"
|
|
CFLAGS="$CFLAGS -Werror=incompatible-pointer-types"
|
|
CFLAGS="$CFLAGS -Werror=int-conversion"
|
|
CFLAGS="$CFLAGS -Wno-expansion-to-defined"
|
|
CFLAGS="$CFLAGS -Wno-unknown-attributes"
|
|
CFLAGS="$CFLAGS -Wno-unknown-warning-option"
|
|
|
|
"$(dirname "$0")"/configure \
|
|
CFLAGS="$CFLAGS" \
|
|
--enable-lastlog \
|
|
--enable-man \
|
|
--enable-maintainer-mode \
|
|
--enable-shared \
|
|
--without-libpam \
|
|
--with-selinux \
|
|
"$@"
|