mirror of
https://github.com/znc/znc.git
synced 2026-07-06 18:01:21 +02:00
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user