diff options
author | Eli Zaretskii <eliz@gnu.org> | 2012-05-29 19:15:12 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2012-05-29 19:15:12 +0300 |
commit | 0652336413775df89b051f604278c4e9e5ce2784 (patch) | |
tree | ffb4631964146190a57c5a28391797e345263e5c /nt/gmake.defs | |
parent | a02ae4e5bfa13097dabee45f45ee992cdb830bb3 (diff) | |
download | emacs-0652336413775df89b051f604278c4e9e5ce2784.tar.gz |
Fix bug #11405 with MSVC build of emacsclientw.
lib-src/makefile.w32-in ($(BLD)/emacsclientw.exe): Use $(MWINDOWS)
instead of a literal -mwindows, which is not supported by MSVC.
nt/nmake.defs (MWINDOWS): Define as "-subsystem:windows -entry:mainCRTStartup".
Suggested by Fabrice Popineau <fabrice.popineau@supelec.fr>.
nt/gmake.defs (MWINDOWS): Define as "-mwindows".
Diffstat (limited to 'nt/gmake.defs')
-rw-r--r-- | nt/gmake.defs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nt/gmake.defs b/nt/gmake.defs index a669ffd27be..dd96b776363 100644 --- a/nt/gmake.defs +++ b/nt/gmake.defs @@ -210,6 +210,8 @@ 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) EMACS_EXTRA_C_FLAGS = -DUSE_CRT_DLL=1 |