cgit: apply voids LDFLAGS.

This commit is contained in:
Enno Boland 2016-05-24 11:34:20 +02:00
parent f783f4689e
commit 86c96c815e

View file

@ -27,10 +27,10 @@ pre_build() {
}
do_build() {
make CC=$CC CFLAGS="$CFLAGS" prefix=/usr ${makejobs} all doc-man
make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" prefix=/usr ${makejobs} all doc-man
}
do_install() {
make CC=$CC CFLAGS="$CFLAGS" prefix=/usr DESTDIR=${DESTDIR} \
make CC=$CC CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" prefix=/usr DESTDIR=${DESTDIR} \
CGIT_SCRIPT_PATH=/usr/share/webapps/cgit install install-man
}