switch compilation mode fom Thumb to ARM 39/156439/3 accepted/tizen/unified/20171019.145642 submit/tizen/20171019.034316 submit/tizen_4.0/20171018.102237
authorAdrian Szyndela <adrian.s@samsung.com>
Wed, 18 Oct 2017 09:30:14 +0000 (11:30 +0200)
committerAdrian Szyndela <adrian.s@samsung.com>
Wed, 18 Oct 2017 09:55:59 +0000 (11:55 +0200)
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

index 321eba3..416a6a1 100644 (file)
@@ -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 \