Date: Wednesday, January 17, 2007 @ 17:55:31
  Author: marc
    Path: /cvsroot/carob/carob/make-includes

Modified: README (1.4 -> 1.5)

Re-ordered and added reminder about CLI uber-overriding power


--------+
 README |   13 ++++++++-----
 1 files changed, 8 insertions(+), 5 deletions(-)


Index: carob/make-includes/README
diff -u carob/make-includes/README:1.4 carob/make-includes/README:1.5
--- carob/make-includes/README:1.4      Wed Jan 17 17:44:56 2007
+++ carob/make-includes/README  Wed Jan 17 17:55:31 2007
@@ -13,15 +13,18 @@
 - CPPFLAGS / CXXFLAGS / LDFLAGS / LDLIBS / etc. are meant to be
 overriden on the command line. Values found in .mk files are only
 default suggestions and should not be needed to compile successfully.
+GNU make reminder: once a variable has been defined on the command
+line, it cannot be modified anymore in any way.
+
+- never use "override". Interactions between override, "=", "+=", the
+command line, and worst of all: the order of definitions, are way too
+complex to be reliable.
 
 - To force a flag whatever is on the command line use prefixed names:
 MK_CXXFLAGS / MK_LDFLAGS / SHARED_LDFLAGS / etc.
 
-- in .mk files, never define using "=" but always append using "+="
-instead. You are not alone in this world!
-
-- never use "override". Interactions between override, "=", "+=" and
-the command line are too complex to be reliable.
+- in .mk files, never use "=" but always append using "+=".  You are
+not alone in this world!
 
 - x-os.mk, y-linker.mk and z-compiler.mk are loaded using OS, LINKER
 and COMPILER variables. CUSTOM="custom1 custom2" allows loading

_______________________________________________
Carob-commits mailing list
[email protected]
https://forge.continuent.org/mailman/listinfo/carob-commits

Reply via email to