enca: fix PIE build.
This commit is contained in:
parent
ab7cd64ca8
commit
702e6e07ce
1 changed files with 2 additions and 2 deletions
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue