summaryrefslogtreecommitdiff
path: root/nt/gmake.defs
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2012-07-04 19:17:19 +0200
committerJuanma Barranquero <lekktu@gmail.com>2012-07-04 19:17:19 +0200
commit0566bc954097aae81a0efda950c4567be3139c23 (patch)
tree5bd0c9eda3c9a6d8d09d108a4cc1b49659b7ce0d /nt/gmake.defs
parentf094125348fa8512392cc315b16de957c4f35458 (diff)
downloademacs-0566bc954097aae81a0efda950c4567be3139c23.tar.gz
* nt/configure.bat (enablechecking): Enable checks through src/config.h.
* nt/gmake.defs (DEBUG_CFLAGS): Add -fno-crossjumping. (CHECKING_CFLAGS): Remove. (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS). * nt/nmake.defs (CHECKING_CFLAGS): Remove. (CFLAGS, ESC_CFLAGS): Do not include $(CHECKING_CFLAGS).
Diffstat (limited to 'nt/gmake.defs')
-rw-r--r--nt/gmake.defs12
1 files changed, 3 insertions, 9 deletions
diff --git a/nt/gmake.defs b/nt/gmake.defs
index 223b0fec6f9..0b29c73e741 100644
--- a/nt/gmake.defs
+++ b/nt/gmake.defs
@@ -199,21 +199,15 @@ OBJ1_c = $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ1))
OBJ2_c = $(patsubst $(BLD)%.$(O),$(CURDIR)%.c,$(OBJ2))
ifdef NOOPT
-DEBUG_CFLAGS = -DEMACSDEBUG
+DEBUG_CFLAGS = -DEMACSDEBUG -fno-crossjumping
else
DEBUG_CFLAGS =
endif
-ifdef ENABLECHECKS
-CHECKING_CFLAGS = -DENABLE_CHECKING -fno-crossjumping
-else
-CHECKING_CFLAGS =
-endif
-
MWINDOWS = -mwindows
-CFLAGS = -I. $(ARCH_CFLAGS) $(DEBUG_CFLAGS) $(CHECKING_CFLAGS) $(PROFILE_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS)
-ESC_CFLAGS = -I. $(ARCH_CFLAGS) $(DEBUG_CFLAGS) $(CHECKING_CFLAGS) $(PROFILE_CFLAGS) $(ESC_USER_CFLAGS) $(LOCAL_FLAGS)
+CFLAGS = -I. $(ARCH_CFLAGS) $(DEBUG_CFLAGS) $(PROFILE_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS)
+ESC_CFLAGS = -I. $(ARCH_CFLAGS) $(DEBUG_CFLAGS) $(PROFILE_CFLAGS) $(ESC_USER_CFLAGS) $(LOCAL_FLAGS)
EMACS_EXTRA_C_FLAGS = -DUSE_CRT_DLL=1
ifdef PROFILE