diff options
Diffstat (limited to 'nt/gmake.defs')
-rw-r--r-- | nt/gmake.defs | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/nt/gmake.defs b/nt/gmake.defs index 7b2aba4151e..2265841efa3 100644 --- a/nt/gmake.defs +++ b/nt/gmake.defs @@ -96,6 +96,7 @@ THISDIR = . ifdef USING_SH sh_output := $(shell echo [Please ignore a syntax error on the next line - it is intentional] 1>&2) sh_output := $(shell echo foo") +# This single quote " is to fix fintification due to previous line ifeq "$(sh_output)" "" NEW_CYGWIN = 1 endif @@ -198,7 +199,14 @@ DEBUG_CFLAGS = -DEMACSDEBUG else DEBUG_CFLAGS = endif -CFLAGS = -I. $(ARCH_CFLAGS) $(DEBUG_CFLAGS) $(PROFILE_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS) + +ifdef ENABLECHECKS +CHECKING_CFLAGS = -DENABLE_CHECKING -DXASSERTS -fno-crossjumping +else +CHECKING_CFLAGS = +endif + +CFLAGS = -I. $(ARCH_CFLAGS) $(DEBUG_CFLAGS) $(CHECKING_CFLAGS) $(PROFILE_CFLAGS) $(USER_CFLAGS) $(LOCAL_FLAGS) EMACS_EXTRA_C_FLAGS = -DUSE_CRT_DLL=1 ifdef PROFILE |