mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-05 19:43:07 +02:00
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'
|
# Template file for 'cdecl'
|
||||||
pkgname=cdecl
|
pkgname=cdecl
|
||||||
version=2.5
|
version=2.5
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc=${pkgname}-blocks-${version}
|
wrksrc="${pkgname}-blocks-${version}"
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_build_args="LIBS=-lreadline"
|
make_build_args="-e"
|
||||||
hostmakedepends="flex"
|
hostmakedepends="flex"
|
||||||
makedepends="readline-devel"
|
makedepends="readline-devel"
|
||||||
short_desc="Compose C and C++ type declarations"
|
short_desc="Compose C and C++ type declarations"
|
||||||
|
@ -18,6 +18,7 @@ CFLAGS="-DUSE_READLINE"
|
||||||
pre_build() {
|
pre_build() {
|
||||||
flex -l -o cdlex.c cdlex.l
|
flex -l -o cdlex.c cdlex.l
|
||||||
sed -i 's/getline/cdgetline/' cdecl.c
|
sed -i 's/getline/cdgetline/' cdecl.c
|
||||||
|
export LIBS="$LDFLAGS -lreadline"
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue