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>
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 \
--with-cap \
--enable-shared \
--enable-python \
- --with-msm \
- $BUILDTARGET
+ --with-msm
make %{?_smp_mflags}