summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Le Martret <ronan@fridu.net>2014-05-20 12:21:06 +0200
committerronan(Eurogiciel) Le Martret <ronan.lemartret@open.eurogiciel.org>2014-05-26 06:03:21 -0700
commit48b41d2b2627d07d68b0de842c655468a63c3335 (patch)
treec37bc7194a2c08553b98d7021ca139ec226dfb8a
parentd81d7b2f5c69ec104400b5d8fcfbcbc88d3bfd63 (diff)
downloadrpm-48b41d2b2627d07d68b0de842c655468a63c3335.tar.gz
rpm-48b41d2b2627d07d68b0de842c655468a63c3335.tar.bz2
rpm-48b41d2b2627d07d68b0de842c655468a63c3335.zip
Macro --host and --build is defined in %reconfigure, so useless in spec file. Change-Id: I4d396a824b30ec03f6913028e3a3836dd076a1b8 Signed-off-by: Ronan Le Martret <ronan@fridu.net>
-rw-r--r--packaging/rpm.spec12
1 files changed, 1 insertions, 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}