Silence compiler warnings on mingw
authorMagnus Hagander <magnus@hagander.net>
Wed, 25 Jul 2007 10:17:46 +0000 (10:17 +0000)
committerMagnus Hagander <magnus@hagander.net>
Wed, 25 Jul 2007 10:17:46 +0000 (10:17 +0000)
src/pl/plperl/GNUmakefile

index 6f53617545dae76c1d384f0dfa0e3b959cac232b..fc033f4925b4bae9c0ca6a8d7f093c58c23ff3b8 100644 (file)
@@ -21,6 +21,9 @@ perl_archlibexp := $(subst \,/,$(perl_archlibexp))
 perl_privlibexp := $(subst \,/,$(perl_privlibexp))
 perl_embed_ldflags = -L$(perl_archlibexp)/CORE -lperl58
 override CPPFLAGS += -DPLPERL_HAVE_UID_GID
+# Perl on win32 contains /* within comment all over the header file,
+# so disable this warning.
+override CFLAGS += -Wno-comment
 endif
 
 override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) -I$(perl_archlibexp)/CORE