From: Philippe Coval Date: Tue, 16 Dec 2014 10:38:26 +0000 (+0100) Subject: packaging: workaround a gbs export X-Git-Tag: submit/tizen_common/20151019.135620 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Fsubmit%2Ftizen_common%2F20151019.135620;p=platform%2Fupstream%2Flibvpx.git packaging: workaround a gbs export 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 --- diff --git a/packaging/libvpx.spec b/packaging/libvpx.spec index 0d3e4e2..e672d1c 100644 --- a/packaging/libvpx.spec +++ b/packaging/libvpx.spec @@ -49,6 +49,9 @@ The WebM file structure is based on the Matroska container. 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