From 9f5028298deaa90aaba458293a869bcc92819821 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 28 Nov 2015 11:24:09 +0100 Subject: [PATCH] icu55: unbreak cross compilation with PIE by default (close #3067). --- srcpkgs/icu55/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/icu55/template b/srcpkgs/icu55/template index 3b0306897de..c0652d52a6c 100644 --- a/srcpkgs/icu55/template +++ b/srcpkgs/icu55/template @@ -1,7 +1,7 @@ # Template build file for 'icu55'. pkgname=icu55 version=55.1 -revision=2 +revision=3 wrksrc=icu build_wrksrc=source build_style=gnu-configure @@ -25,7 +25,7 @@ pre_configure() { ( cd host-build env CC=cc LD=ld CXX=g++ AR=ar RANLIB=ranlib \ - AS=as STRIP=strip CFLAGS="-Os" CXXFLAGS="-Os" \ + AS=as STRIP=strip CFLAGS="-Os -fPIE" CXXFLAGS="-Os -fPIE" \ ../configure --prefix=/ make ${makejobs} mkdir -p ${wrksrc}/host-icu/config