cdecl: fix PIE.
This commit is contained in:
parent
3674a848e7
commit
74def95013
1 changed files with 4 additions and 3 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue