chicken: don't leak hardened CFLAGS into config.

Fixes #4309.
This commit is contained in:
Christian Neukirchen 2016-06-09 13:46:27 +02:00
parent 89a99de8bc
commit c8c06ca6e5
1 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'chicken'
pkgname=chicken
version=4.9.0.1
revision=3
revision=4
short_desc="A practical and portable Scheme system"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="BSD"
@ -12,26 +12,26 @@ checksum=04df7c439c36fc16446bdfa186e7a70258f911d2d826b5216a8e6b1cb2aa2815
# No ARM support??!!!
only_for_archs="i686 i686-musl x86_64 x86_64-musl"
do_configure() {
make -B -f Makefile.linux chicken-defaults.h PREFIX=/usr
}
do_build() {
make -j1 C_COMPILER_OPTIMIZATION_OPTIONS="$CFLAGS" \
LINKER_LINK_SHARED_PROGRAM_OPTIONS="$LDFLAGS" \
PREFIX=/usr PLATFORM=linux
}
do_install() {
make -j1 C_COMPILER_OPTIMIZATION_OPTIONS="$CFLAGS" \
LINKER_LINK_SHARED_PROGRAM_OPTIONS="$LDFLAGS" \
PREFIX=/usr DESTDIR=$DESTDIR PLATFORM=linux install
vlicense LICENSE
}
libchicken_package() {
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
chicken-devel_package() {
depends="libchicken>=${version}_${revision}"
short_desc+=" - development files"