Commit 75197633 authored by Christoph Scholtes's avatar Christoph Scholtes

* lib/makefile.w32-in (PRAGMA_SYSTEM_HEADER): Move to platform

specific makefiles to support getopt_.h generation with MSVC.

* nt/gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.

* nt/nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
parent d452256d
2012-02-05 Christoph Scholtes <cschol2112@googlemail.com>
* lib/makefile.w32-in (PRAGMA_SYSTEM_HEADER): Move to platform
specific makefiles to support getopt_.h generation with MSVC.
2012-02-04 Glenn Morris <rgm@gnu.org>
* Makefile.in (uninstall):
......
......@@ -213,7 +213,6 @@ getopt_.h-SH: doit
HAVE_GETOPT_H = HAVE_GETOPT_H
INCLUDE_NEXT = include_next
PRAGMA_SYSTEM_HEADER = \#pragma GCC system_header
PRAGMA_COLUMNS =
NEXT_GETOPT_H = <getopt.h>
ARG_NONNULL_H = ../build-aux/snippet/arg-nonnull.h
......
2012-02-05 Christoph Scholtes <cschol2112@googlemail.com>
* gmake.defs (PRAGMA_SYSTEM_HEADER): Add for GCC.
* nmake.defs (PRAGMA_SYSTEM_HEADER): Add, but ignore with MSVC.
* makefile.w32-in (maybe-copy-distfiles)
(maybe-copy-distfiles-CMD, maybe-copy-distfiles-SH)
(create-tmp-dist-dir): Added to make --distfiles optional.
......
......@@ -289,6 +289,8 @@ ifdef USER_LIBS
USER_LIBS := $(patsubst %,-l%,$(USER_LIBS))
endif
PRAGMA_SYSTEM_HEADER = \#pragma GCC system_header
ifeq "$(ARCH)" "i386"
ifdef NOOPT
ARCH_CFLAGS = -c $(DEBUG_FLAG) $(NOCYGWIN)
......
......@@ -203,6 +203,9 @@ DEBUG_LINK = -debug
D = d
!endif
# gcc-specific pragma (ignore for MSVC)
PRAGMA_SYSTEM_HEADER =
!if "$(ARCH)" == "i386"
!ifdef NOOPT
#ARCH_CFLAGS = -nologo -c -Zel -W2 -H63 -Od -G3d -Zp8 $(DEBUG_FLAG)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment