Fuck those makefiles

It tries to run SWIG for modpython several times simultaneously.
Just force modules to be built in 1 thread for now if modpython is going
to be built.

Makefiles should be thrown away.

Also don't show warning about unused perl, fix #219
This commit is contained in:
Alexey Sokolov
2012-09-07 00:41:35 +07:00
parent 9830be786a
commit a9a869488a
2 changed files with 10 additions and 4 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ PERL_CXX += -Wno-write-strings -Wno-redundant-decls -Wno-missing-declarations
PERL_CXX += -Wno-type-limits -Wno-sign-compare -Wno-strict-overflow
# This is for SWIG
PERL_CXX += -DSWIG_TYPE_TABLE=znc
modperlCXXFLAGS := $(PERL_CXX)
modperlCXXFLAGS := $(PERL_CXX) -Wno-unused-function
modperlLDFLAGS := $(PERL_LD)
# Find additional headers for out-of-tree build
modperlCXXFLAGS += -I.
@@ -32,7 +32,7 @@ else
FILES := $(shell echo $(FILES) | sed -e "s/modperl//")
endif
.PHONY: modperl_install
.PHONY: modperl_install modperl_all
install: $(PERLHOOK)