[Spice-devel] [spice-common 12/13] build-sys: small cleanup of AM_CPPFLAGS

Christophe Fergeau cfergeau at redhat.com
Wed Dec 3 09:15:27 PST 2014


Commit 4fafa210 added WARN_CFLAGS, VISIBILITY_HIDDEN_CFLAGS and
-std=gnu99 to AM_CFLAGS in common/Makefile.am, but these are not
needed. WARN_CFLAGS and VISIBILITY_HIDDEN_CFLAGS are not defined
anywhere in spice-common, and spice-common compiles fine without
-std=gnu99 on my f21 box.
---
 common/Makefile.am | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/common/Makefile.am b/common/Makefile.am
index 683f3c3..3496863 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -93,9 +93,6 @@ endif
 AM_CPPFLAGS =				\
 	-I$(top_srcdir)			\
 	$(SPICE_COMMON_CFLAGS)		\
-	$(VISIBILITY_HIDDEN_CFLAGS)	\
-	$(WARN_CFLAGS)			\
-	-std=gnu99			\
 	$(NULL)
 
 libspice_common_la_LIBADD =				\
-- 
2.1.0



More information about the Spice-devel mailing list