Fix build on cygwin after switch to -std=c++11

This commit is contained in:
Alexey Sokolov
2014-08-14 00:17:13 +01:00
parent 2f9b8f9f52
commit 700c899698
2 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ PERL_LD := $(shell $(PERL) -MExtUtils::Embed -e ldopts)
PERL_CXX += -Wno-write-strings -Wno-redundant-decls -Wno-missing-declarations
PERL_CXX += -Wno-type-limits -Wno-sign-compare -Wno-strict-overflow -Wno-unused-value
# perl 5.20 will fix this warning: https://rt.perl.org/Public/Bug/Display.html?id=120670
PERL_CXX += -Wno-reserved-user-defined-literal
PERL_CXX += -Wno-reserved-user-defined-literal -Wno-literal-suffix
# This is for SWIG
PERL_CXX += -DSWIG_TYPE_TABLE=znc
PERLCEXT_EXT := $(shell $(PERL) -MConfig -e'print $$Config::Config{dlext}')