summaryrefslogtreecommitdiffstats
path: root/solenv
diff options
context:
space:
mode:
authorBjoern Michaelsen <b_michaelsen@openoffice.org>2010-12-03 16:50:49 +0100
committerBjoern Michaelsen <b_michaelsen@openoffice.org>2010-12-03 16:50:49 +0100
commit8d9336d8bc6b5f90872d8b57b46d25cca87088d8 (patch)
treee1b2b3c07f838bcd3133707ce088c805eebc0ae5 /solenv
parentgnumake2: merging minibranches (diff)
downloadcore-8d9336d8bc6b5f90872d8b57b46d25cca87088d8.tar.gz
core-8d9336d8bc6b5f90872d8b57b46d25cca87088d8.zip
gnumake2: decrypted confused comment in LinkTarget.mk
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/LinkTarget.mk14
1 files changed, 8 insertions, 6 deletions
diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk
index ee816d5692af..7cf58c92d9de 100644
--- a/solenv/gbuild/LinkTarget.mk
+++ b/solenv/gbuild/LinkTarget.mk
@@ -86,12 +86,14 @@ else
gb_CxxObject__command_dep =
endif
-# CXXFLAGS and DEFS we want to use for this object. This should usually be the case.
-# Only enable PCH if the PCH_CXXFLAGS and the PCH_DEFS (from the linktarget) are the same as the
-# PCH_CXXFLAGS/PCH_DEFS should never be overridden on an object -- they should be the same as for the whole
-# The DEFS/CXXFLAGS would have too be manually overridden for one object file for them to differ.
-# linktarget. In general it should be cleaner to use a static library compiled with different flags and link
-# that in rather than mixing different flags in one linktarget.
+# Only enable PCH if the PCH_CXXFLAGS and the PCH_DEFS (from the linktarget)
+# are the same as the CXXFLAGS and DEFS we want to use for this object. This
+# should usually be the case. The DEFS/CXXFLAGS would have too be manually
+# overridden for one object file for them to differ. PCH_CXXFLAGS/PCH_DEFS
+# should never be overridden on an object -- they should be the same as for the
+# whole linktarget. In general it should be cleaner to use a static library
+# compiled with different flags and link that in rather than mixing different
+# flags in one linktarget.
define gb_CxxObject__set_pchflags
ifeq ($(gb_ENABLE_PCH),$(true))
ifneq ($(strip $$(PCH_NAME)),)