changeset 5051:1ad36c6cff31

Add note about use of $(CFLAGS)/$(CXXFLAGS)/$(CPPFLAGS) at present.
author andrew
date Wed, 17 Jul 2013 19:14:46 +0100
parents d54091fd1092
children 4a989c763452
files make/linux/makefiles/rules.make
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/make/linux/makefiles/rules.make	Wed Jul 17 17:30:04 2013 +0100
+++ b/make/linux/makefiles/rules.make	Wed Jul 17 19:14:46 2013 +0100
@@ -31,6 +31,9 @@
 DEMANGLE        = $(DEMANGLER) < $@ > .$@ && mv -f .$@ $@
 
 # $(CC) is the c compiler (cc/gcc), $(CXX) is the c++ compiler (CC/g++).
+# FIXME: $(CXXFLAGS) currently only includes preprocessor flags while
+# $(CFLAGS) includes C and C++ flags.  Ideally, there should be three
+# variables: $(CFLAGS), $(CXXFLAGS) and $(CPPFLAGS).
 CC_COMPILE       = $(CC) $(CXXFLAGS)
 CXX_COMPILE      = $(CXX) $(CXXFLAGS) $(CFLAGS)