From: Ronan Le Martret Date: Tue, 20 May 2014 10:21:06 +0000 (+0200) Subject: Remove $BUILDTARGET to solve build arch armv7l. X-Git-Tag: tizen/4.11.0.1.tizen20140530^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=48b41d2b2627d07d68b0de842c655468a63c3335;p=tools%2Flibrpm-tizen.git Remove $BUILDTARGET to solve build arch armv7l. Macro --host and --build is defined in %reconfigure, so useless in spec file. Change-Id: I4d396a824b30ec03f6913028e3a3836dd076a1b8 Signed-off-by: Ronan Le Martret --- diff --git a/packaging/rpm.spec b/packaging/rpm.spec index 8ad49e81d..07fdb8c51 100644 --- a/packaging/rpm.spec +++ b/packaging/rpm.spec @@ -139,15 +139,6 @@ export LDFLAGS="${LDFLAGS} -Wl,-Bsymbolic-functions -ffunction-sections" export CFLAGS="-g -O0 -fno-strict-aliasing -ffunction-sections" %endif -%if %{_target_cpu} -BUILDTARGET="--host=%{_target_cpu}-linux-gnu " -%ifarch %arm -BUILDTARGET+="--build=%{_target_cpu}-tizen-linux-gnueabi " -%else -BUILDTARGET+="--build=%{_target_cpu}-tizen-linux " -%endif -%endif - %reconfigure \ --disable-dependency-tracking \ --with-lua \ @@ -155,8 +146,7 @@ BUILDTARGET+="--build=%{_target_cpu}-tizen-linux " --with-cap \ --enable-shared \ --enable-python \ - --with-msm \ - $BUILDTARGET + --with-msm make %{?_smp_mflags}