]>
git.ipfire.org Git - thirdparty/kmod.git/blob - autogen.sh
3 autoreconf
--install --symlink
5 MYCFLAGS
="-g -Wall -Wextra \
6 -Wmissing-declarations -Wmissing-prototypes \
7 -Wnested-externs -Wpointer-arith \
8 -Wpointer-arith -Wsign-compare -Wchar-subscripts \
9 -Wstrict-prototypes -Wshadow \
10 -Wformat-security -Wtype-limits \
11 -Wformat=2 -Wuninitialized -Winit-self -Wundef \
12 -Wmissing-include-dirs -Wold-style-definition \
13 -Wfloat-equal -Wredundant-decls -Wendif-labels \
14 -Wcast-align -Wstrict-aliasing -Wwrite-strings \
15 -Wno-unused-parameter"
18 echo $
(cd $1/$
(gcc
-print-multi-os-directory); pwd)
23 --libdir=$(libdir /usr/lib)"
25 if [ -z "$NOCONFIGURE" ]; then
26 exec .
/configure
$args CFLAGS
="${MYCFLAGS} ${CFLAGS}" "$@"