From 48b41d2b2627d07d68b0de842c655468a63c3335 Mon Sep 17 00:00:00 2001 From: Ronan Le Martret Date: Tue, 20 May 2014 12:21:06 +0200 Subject: [PATCH] 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 --- packaging/rpm.spec | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) 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} -- 2.34.1