enca: fix PIE build.

This commit is contained in:
Juan RP 2015-11-19 08:18:54 +01:00
parent ab7cd64ca8
commit 702e6e07ce

View file

@ -1,7 +1,7 @@
# Template file for 'enca'
pkgname=enca
version=1.16
revision=1
revision=2
build_style=gnu-configure
configure_args="--enable-external --disable-static ac_cv_file__dev_random=yes
ac_cv_file__dev_urandom=yes ac_cv_file__dev_srandom=no
@ -18,7 +18,7 @@ checksum=7c1d785901b19ab78780cd4c87454e69864d45dc99da5164a2c654d5e87be741
pre_build() {
# make_hash must be built for the host.
cd tools
make CC=cc CFLAGS=-Os
make CC=cc CFLAGS="-Os -fPIE"
}
libenca_package() {