An other way to apply the patch "disable cross build for ARM"
Which is not exported in gbs 0.23
For now both changes are here,
it would make sense to drop the downstream patch in the future.
This problem have been reported to gbs developers.
Change-Id: Ic8864ddba2d92103a2e65e3f1ca355a89a98904d
Bug-Tizen: TC-1845/2of3
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
cp %{SOURCE1001} .
%build
+# disable cross build for ARM
+sed -e 's|CROSS=".*"|CROSS=""|g' -i ./build/make/configure.sh
+
cd build
export CFLAGS="%{optflags}"
# It is only an emulation of autotools configure; the macro does not work