From 4a3bb9ef968eff082e5b2536995dd9080be7fff5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?K=C3=A9vin=20THIERRY?= Date: Fri, 25 Jul 2014 15:40:17 +0200 Subject: [PATCH] rpm: remove "bashism" MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Bug-Tizen: BTY-16 Change-Id: Idb2509566f1ecea299e05baab4c5d8edf1ac76f8 Signed-off-by: Kévin THIERRY --- recipes-tizen/rpm/rpm-extraconf.inc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/recipes-tizen/rpm/rpm-extraconf.inc b/recipes-tizen/rpm/rpm-extraconf.inc index cd37703..ba7fcc1 100644 --- a/recipes-tizen/rpm/rpm-extraconf.inc +++ b/recipes-tizen/rpm/rpm-extraconf.inc @@ -32,9 +32,9 @@ do_compile_prepend() { export CPPFLAGS export LDFLAGS="${LDFLAGS} -Wl,-Bsymbolic-functions -ffunction-sections" - export CCFLAGS+=" -fPIC " - export CXXFLAGS+=" -fPIC " - export CFLAGS+=" -fPIC " + export CCFLAGS="${CCFLAGS} -fPIC " + export CXXFLAGS="${CXXFLAGS} -fPIC " + export CFLAGS="${CFLAGS} -fPIC " cd db3 ./configure --build=${TARGET_SYS} --host=x86_64-linux-gnu @@ -42,7 +42,7 @@ do_compile_prepend() { cp db3/configure db3/configure.ac - export CFLAGS+=" -DRPM_VENDOR_OE " + export CFLAGS="${CFLAGS} -DRPM_VENDOR_OE " } do_compile() { @@ -58,7 +58,7 @@ do_compile() { BUILDTARGET="--host=x86_64-linux-gnu " - export CFLAGS+=" -DRPM_VENDOR_OE " + export CFLAGS="${CFLAGS} -DRPM_VENDOR_OE " autoreconf -i -f ./configure --host=${HOST_SYS} \ --target=x86_64-tizen-linux \ -- 2.7.4