]> err.no Git - sope/commitdiff
fixed PCH opts
authorhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Tue, 30 Aug 2005 10:06:12 +0000 (10:06 +0000)
committerhelge <helge@e4a50df8-12e2-0310-a44c-efbce7f8a7e3>
Tue, 30 Aug 2005 10:06:12 +0000 (10:06 +0000)
git-svn-id: http://svn.opengroupware.org/SOPE/trunk@1097 e4a50df8-12e2-0310-a44c-efbce7f8a7e3

sope-mime/ChangeLog
sope-mime/GNUmakefile.preamble
sope-mime/NGImap4/GNUmakefile.preamble
sope-mime/NGMail/GNUmakefile.preamble
sope-mime/NGMime/GNUmakefile.preamble
sope-mime/Version

index 1bc92a618bf8a1ca1f6a80c327477e740209fe74..9a730f66937b9f62c156642e519449289210fcb2 100644 (file)
@@ -1,3 +1,7 @@
+2005-08-30  Helge Hess  <helge.hess@skyrix.com>
+
+       * do not use PCH warning flags with older compilers (v4.5.235)
+
 2005-08-27  Helge Hess  <helge.hess@opengroupware.org>
 
        * added some PCH support (v4.5.234)
index 6fe0f4bb3102734eed5e83090ef35f278a9e955b..7181ae944835888263bac0e04c0f70ac1f8a8aee 100644 (file)
@@ -6,7 +6,10 @@ ADDITIONAL_CPPFLAGS += -DLIBRARY_MAJOR_VERSION=${MAJOR_VERSION} \
                       -DLIBRARY_MINOR_VERSION=${MINOR_VERSION} \
                       -DLIBRARY_SUBMINOR_VERSION=${SUBMINOR_VERSION} \
 
-ADDITIONAL_CPPFLAGS += -Wall -Winvalid-pch
+ADDITIONAL_CPPFLAGS += -Wall
+ifeq ($(PRECOMPILED_HEADERS),yes)
+ADDITIONAL_CPPFLAGS += -Winvalid-pch
+endif
 
 libNGMime_INCLUDE_DIRS += \
        -I$(SOPE_ROOT)  \
index a3853c83ada30e2a65a7244b770bfa5bcde5353b..de76ae7bd478c3fae686b7f63ab648905b7cfcba 100644 (file)
@@ -2,7 +2,10 @@
 
 SOPE_ROOT=../..
 
-ADDITIONAL_CPPFLAGS += -Wall -Winvalid-pch
+ADDITIONAL_CPPFLAGS += -Wall
+ifeq ($(PRECOMPILED_HEADERS),yes)
+ADDITIONAL_CPPFLAGS += -Winvalid-pch
+endif
 
 NGImap4_INCLUDE_DIRS += \
        -I.. -I$(SOPE_ROOT)                     \
index f7a35b5fbfbc9662a3b554d940b6403b589e960d..98eda5036b05d93162f1822cfcef3dba1aa50aa8 100644 (file)
@@ -2,7 +2,10 @@
 
 SOPE_ROOT=../..
 
-ADDITIONAL_CPPFLAGS += -Wall -Winvalid-pch
+ADDITIONAL_CPPFLAGS += -Wall
+ifeq ($(PRECOMPILED_HEADERS),yes)
+ADDITIONAL_CPPFLAGS += -Winvalid-pch
+endif
 
 NGMail_INCLUDE_DIRS += \
        -I.. -I$(SOPE_ROOT)                     \
index 1c626b383aaf27d25993ffcb7ed3154f24b79e05..ca00bde11633ade29802664058bd9af320d31b1f 100644 (file)
@@ -1,16 +1,12 @@
 # compilation settings
 
-ADDITIONAL_CPPFLAGS += -DLIBRARY_MAJOR_VERSION=${MAJOR_VERSION} \
-                      -DLIBRARY_MINOR_VERSION=${MINOR_VERSION} \
-                      -DLIBRARY_SUBMINOR_VERSION=${SUBMINOR_VERSION} \
+ADDITIONAL_CPPFLAGS += \
+        -DLIBRARY_MAJOR_VERSION=${MAJOR_VERSION} \
+       -DLIBRARY_MINOR_VERSION=${MINOR_VERSION} \
+       -DLIBRARY_SUBMINOR_VERSION=${SUBMINOR_VERSION} \
 
 NGMime_INCLUDE_DIRS += \
        -I.. -I../..                    \
        -I../../sope-core/NGStreams/    \
        -I../../sope-core/NGExtensions/ \
        -I../../sope-core
-
-ADDITIONAL_CPPFLAGS += \
-       -DLIBRARY_MAJOR_VERSION=${MAJOR_VERSION} \
-       -DLIBRARY_MINOR_VERSION=${MINOR_VERSION} \
-       -DLIBRARY_SUBMINOR_VERSION=${SUBMINOR_VERSION}
index e4d930b357099c0dbe6a43b4be24d8842f4bfef2..209641ab7a0ce2bd9bc5d560ab7fe2215bca76ce 100644 (file)
@@ -2,7 +2,7 @@
 
 MAJOR_VERSION:=4
 MINOR_VERSION:=5
-SUBMINOR_VERSION:=234
+SUBMINOR_VERSION:=235
 
 # v4.5.214 requires libNGExtensions v4.5.146
 # v4.2.149 requires libNGStreams    v4.2.34