cdecl: fix PIE.

This commit is contained in:
Christian Neukirchen 2016-05-24 13:15:33 +02:00
parent 3674a848e7
commit 74def95013

View file

@ -1,10 +1,10 @@
# Template file for 'cdecl'
pkgname=cdecl
version=2.5
revision=1
wrksrc=${pkgname}-blocks-${version}
revision=2
wrksrc="${pkgname}-blocks-${version}"
build_style=gnu-makefile
make_build_args="LIBS=-lreadline"
make_build_args="-e"
hostmakedepends="flex"
makedepends="readline-devel"
short_desc="Compose C and C++ type declarations"
@ -18,6 +18,7 @@ CFLAGS="-DUSE_READLINE"
pre_build() {
flex -l -o cdlex.c cdlex.l
sed -i 's/getline/cdgetline/' cdecl.c
export LIBS="$LDFLAGS -lreadline"
}
do_install() {