From e438abe5844a4b338ffa9d023f6e4501ea0ed0f1 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Sat, 14 Sep 2002 17:23:21 +0000 Subject: [PATCH] BC++: Disabled precompiled headers for png library, since it seemed to mess up compilation Moved EXTRACPPFLAGS to end of command line so they override current settings git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17176 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/makeb32.env | 2 +- src/png/makefile.b32 | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/makeb32.env b/src/makeb32.env index 739cc9a2ad..0f942ef87d 100644 --- a/src/makeb32.env +++ b/src/makeb32.env @@ -137,7 +137,7 @@ LINK_FLAGS= /Tpd /c $(EXTRALINKFLAGS) !endif CFG=$(CFG).cfg -CPPFLAGS=$(CPPFLAGS) $(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG) +CPPFLAGS=$(CPPFLAGS) $(DLL_FLAGS) @$(CFG) $(EXTRACPPFLAGS) DUMMY=dummy diff --git a/src/png/makefile.b32 b/src/png/makefile.b32 index 024c80439d..19fb0727b7 100644 --- a/src/png/makefile.b32 +++ b/src/png/makefile.b32 @@ -17,5 +17,9 @@ OBJECTS = png.obj pngread.obj pngrtran.obj pngrutil.obj \ pngpread.obj pngtrans.obj pngwrite.obj pngwtran.obj pngwutil.obj \ pngerror.obj pngmem.obj pngwio.obj pngrio.obj pngget.obj pngset.obj +# Precompiled headers seem to interfere with correct compilation +# of png library, so switch them off +EXTRACPPFLAGS=-H- + !include $(WXWIN)\src\makelib.b32 -- 2.45.2