[Spice-devel] [spice-common v2 04/11] build-sys: small cleanup of AM_CPPFLAGS

Christophe Fergeau cfergeau at redhat.com
Tue Dec 9 06:39:22 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 19335ce..2c82adc 100644
--- a/common/Makefile.am
+++ b/common/Makefile.am
@@ -97,9 +97,6 @@ AM_CPPFLAGS =				\
 	$(OPUS_CFLAGS)		        \
 	$(PROTOCOL_CFLAGS)		\
 	$(SMARTCARD_CFLAGS)		\
-	$(VISIBILITY_HIDDEN_CFLAGS)	\
-	$(WARN_CFLAGS)			\
-	-std=gnu99			\
 	$(NULL)
 
 libspice_common_la_LIBADD =				\
-- 
2.1.0



More information about the Spice-devel mailing list