From: Kévin THIERRY Date: Fri, 25 Jul 2014 13:40:17 +0000 (+0200) Subject: rpm: remove "bashism" X-Git-Tag: rev_0.1~21^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F30%2F25030%2F2;p=scm%2Fbb%2Fmeta-tizen.git rpm: remove "bashism" Bug-Tizen: BTY-16 Change-Id: Idb2509566f1ecea299e05baab4c5d8edf1ac76f8 Signed-off-by: Kévin THIERRY --- 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 \