From 2a907b70349adaa3d9f7f38ded67bf50214b740c Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 10 Apr 2000 01:01:00 +0000 Subject: [PATCH] * Makefile.in: Change method for compressing cygwin1.dll to avoid creating a cygwin1.dll in the current directory. Ensure the addition of -nostdinc to MINGW_CFLAGS. --- ChangeLog | 6 ++++++ Makefile.in | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 45a3ea3d..49726519 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Sun Apr 9 20:59:15 2000 Christopher Faylor + + * Makefile.in: Change method for compressing cygwin1.dll to avoid + creating a cygwin1.dll in the current directory. Ensure the addition + of -nostdinc to MINGW_CFLAGS. + Sun Apr 9 02:15:47 2000 Christopher Faylor * Makefile.in: Augment clean target. diff --git a/Makefile.in b/Makefile.in index 3a13635b..f8ee2f62 100644 --- a/Makefile.in +++ b/Makefile.in @@ -38,8 +38,8 @@ include $(srcdir)/../Makefile.common MINGW_INCLUDES:=-I$(mingw_source)/include -I$(w32api_include) -MINGW_CXXFLAGS:=$(CXXFLAGS) -mno-cygwin $(MINGW_INCLUDES) -MINGW_CFLAGS:=$(CFLAGS) -mno-cygwin $(MINGW_INCLUDES) +MINGW_CXXFLAGS:=$(CXXFLAGS) -nostdinc++ -mno-cygwin $(MINGW_INCLUDES) +MINGW_CFLAGS:=$(CFLAGS) -nostdinc -mno-cygwin $(MINGW_INCLUDES) ZLIB=zlib/libzcygw.a libmingw32.a:=$(mingw_build)/libmingw32.a @@ -112,10 +112,10 @@ $(ZLIB): zlib/Makefile $(utils_build)/%.exe: $(utils_build)/Makefile @$(MAKE) -C $(utils_build) $(@F) -%.dll.gz: %.dll - gzip -9nf $? +%.dll.gz: new-%.dll + gzip -9nfc $? > $@ -%.dll: $(cygwin_build)/new-%.dll +%.dll: $(cygwin_build)/%.dll $(OBJCOPY) --strip-unneeded $? $@ $(cygwin_build)/%.dll: $(cygwin_build)/Makefile -- 2.43.5