]> git.saurik.com Git - wxWidgets.git/commitdiff
BC++:
authorJulian Smart <julian@anthemion.co.uk>
Sat, 14 Sep 2002 17:23:21 +0000 (17:23 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sat, 14 Sep 2002 17:23:21 +0000 (17:23 +0000)
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
src/png/makefile.b32

index 739cc9a2ad5de5df71187ded180178f44921b3f5..0f942ef87d8f9e59ad71e245c3b62d641f87bb8c 100644 (file)
@@ -137,7 +137,7 @@ LINK_FLAGS= /Tpd /c $(EXTRALINKFLAGS)
 !endif
 
 CFG=$(CFG).cfg
 !endif
 
 CFG=$(CFG).cfg
-CPPFLAGS=$(CPPFLAGS) $(DLL_FLAGS) $(EXTRACPPFLAGS) @$(CFG)
+CPPFLAGS=$(CPPFLAGS) $(DLL_FLAGS) @$(CFG) $(EXTRACPPFLAGS)
 
 DUMMY=dummy
 
 
 DUMMY=dummy
 
index 024c80439d1c7f0bb4953e426ff283580efec224..19fb0727b7d0177bbecbfff036ee22644f09a225 100644 (file)
@@ -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
 
           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
 
 !include $(WXWIN)\src\makelib.b32