Mercurial > hg > release > icedtea7-forest-2.3 > hotspot
changeset 3751:4413a836dcc7 icedtea-2.3.11
Add note about use of $(CFLAGS)/$(CXXFLAGS)/$(CPPFLAGS) at present.
author | andrew |
---|---|
date | Wed, 17 Jul 2013 19:14:46 +0100 |
parents | c93fcd47982f |
children | d24281f1ddc2 |
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)