libowfat: fix CFLAGS.
This commit is contained in:
parent
b7e1d6b930
commit
2e88e99678
1 changed files with 5 additions and 8 deletions
|
@ -1,19 +1,16 @@
|
|||
# Template file for 'libowfat'
|
||||
pkgname=libowfat
|
||||
version=0.31
|
||||
revision=2
|
||||
revision=3
|
||||
build_style=gnu-makefile
|
||||
short_desc="reimplement libdjb"
|
||||
make_install_args="prefix=/usr MAN3DIR=/usr/share/man/man3"
|
||||
short_desc="Reimplement libdjb"
|
||||
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
||||
license="GPL-2"
|
||||
homepage="https://www.fefe.de/libowfat/"
|
||||
distfiles="https://www.fefe.de/$pkgname/$pkgname-$version.tar.xz"
|
||||
checksum=d1e4ac1cfccbb7dc51d77d96398e6302d229ba7538158826c84cb4254c7e8a12
|
||||
|
||||
pre_build() {
|
||||
CFLAGS+=" -I$wrksrc"
|
||||
}
|
||||
|
||||
pre_install() {
|
||||
make_install_args="prefix=/usr MAN3DIR=/usr/share/man/man3"
|
||||
do_build() {
|
||||
make ${makejobs} CC="$CC" OPT_REG="$CFLAGS" OPT_PLUS="$CFLAGS -O3"
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue