diff --git a/polymer/eduke32/Makefile.common b/polymer/eduke32/Makefile.common index 6bca1ce8e..245c69068 100644 --- a/polymer/eduke32/Makefile.common +++ b/polymer/eduke32/Makefile.common @@ -123,6 +123,11 @@ ifneq (0,$(USE_LIBVPX)) BASECFLAGS+= -DUSE_LIBVPX endif +ifneq (0,$(EFENCE)) + LIBS+= -lefence + BASECFLAGS+= -DEFENCE +endif + BASECXXFLAGS= -fno-exceptions -fno-rtti BASEASFLAGS=-s #-g diff --git a/polymer/eduke32/build/Makefile b/polymer/eduke32/build/Makefile index dcda5c0b3..9ab366ad7 100644 --- a/polymer/eduke32/build/Makefile +++ b/polymer/eduke32/build/Makefile @@ -151,11 +151,6 @@ ifeq ($(RENDERTYPE),WIN) EDITOROBJS+= $(OBJ)/startwin.editor.$o endif -ifneq (0,$(EFENCE)) - LIBS+= -lefence - OURCFLAGS+= -DEFENCE -endif - OURCFLAGS+= $(BUILDCFLAGS) .SILENT: