From fa5c5e6f465b92a95befc02ecba73630140815a9 Mon Sep 17 00:00:00 2001 From: Alessio Sergi Date: Fri, 20 May 2016 23:40:20 +0200 Subject: [PATCH] uboot-mkimage: use our {C,LD}FLAGS; enable PIE. --- srcpkgs/uboot-mkimage/template | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/srcpkgs/uboot-mkimage/template b/srcpkgs/uboot-mkimage/template index a9af3fec7c7..c2956d8a0e1 100644 --- a/srcpkgs/uboot-mkimage/template +++ b/srcpkgs/uboot-mkimage/template @@ -1,7 +1,7 @@ # Template file for 'uboot-mkimage' pkgname=uboot-mkimage version=2014.01 -revision=4 +revision=5 wrksrc="u-boot-${version}" short_desc="The U-Boot mkimage utility" maintainer="Juan RP " @@ -15,12 +15,11 @@ do_configure() { } do_build() { if [ -n "$XBPS_CROSS_TRIPLET" ]; then - make HOSTSTRIP=: HOSTCC="$XBPS_CROSS_TRIPLET-gcc" tools + make HOSTSTRIP=: HOSTCC="$XBPS_CROSS_TRIPLET-gcc $CFLAGS $LDFLAGS" tools else - make HOSTSTRIP=: tools + make HOSTSTRIP=: HOSTCC="$CC $CFLAGS $LDFLAGS" tools fi } - do_install() { vbin tools/mkimage vman doc/mkimage.1