[Spice-devel] [PATCH spice-gtk] build-sys: remove -DSPICE_DISABLE_ABORT

marcandre.lureau at redhat.com marcandre.lureau at redhat.com
Wed Jun 14 16:13:45 UTC 2017


From: Marc-André Lureau <marcandre.lureau at redhat.com>

spice-gtk doesn't use spice_abort().

SPICE_DISABLE_ABORT was mostly used to change default abort behaviour
on criticals in spice-common, but since it works fine without this
flag since 2012 (commit 05a203af120016), we can safely remove that
unused define from spice-gtk.

Signed-off-by: Marc-André Lureau <marcandre.lureau at redhat.com>
---
 src/Makefile.am | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index bb7ad6c..5430d84 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -74,7 +74,6 @@ SPICE_COMMON_CPPFLAGS =						\
 	-DSPICE_GTK_LOCALEDIR=\"${SPICE_GTK_LOCALEDIR}\"	\
 	-DPNP_IDS=\""$(PNP_IDS)"\"				\
 	-DUSB_IDS=\""$(USB_IDS)"\"				\
-	-DSPICE_DISABLE_ABORT					\
 	-I$(top_srcdir)						\
 	$(COMMON_CFLAGS)					\
 	$(PIXMAN_CFLAGS)					\
-- 
2.13.1.395.gf7b71de06



More information about the Spice-devel mailing list