From c3b606acfb69a471c1b66c2e6651a3b51f4db874 Mon Sep 17 00:00:00 2001 From: Adrian Szyndela Date: Wed, 18 Oct 2017 11:30:14 +0200 Subject: [PATCH] switch compilation mode fom Thumb to ARM This is needed to be able to put uprobes in the library code as the uprobes in current kernel versions work only with ARM code. Change-Id: I0868bf63128900230c849cca48c5601d42b80bfa --- packaging/glib2.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packaging/glib2.spec b/packaging/glib2.spec index 321eba3..416a6a1 100644 --- a/packaging/glib2.spec +++ b/packaging/glib2.spec @@ -225,6 +225,9 @@ if ! test -f %{_datadir}/aclocal/gtk-doc.m4 ; then fi NOAUTORECONF=1 NOCONFIGURE=1 ./autogen.sh export CFLAGS+=" -D_TIZEN_DBUS_TOUCH" +%ifarch %{arm} +export CFLAGS+=" -marm" +%endif # Create kdbus extension first (libgio) %reconfigure \ -- 2.7.4