bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

missing TARGET_ARCH in documentation for implicit rules


From: Dominik Kuhlen
Subject: missing TARGET_ARCH in documentation for implicit rules
Date: Sat, 29 Jun 2013 18:47:03 +0200
User-agent: KMail/1.9.10 (enterprise35 0.20100827.1168748)

Hi,

the documentation for implicit rules says for compiling C/C++ 
$(CC) $(CPPFLAGS) $(CFLAGS) -c
$(CXX) $(CPPFLAGS) $(CXXFLAGS) -c

but the source says
default.c:479: "COMPILE.c", "$(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c",
default.c:483: "COMPILE.cc", "$(CXX) $(CXXFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c",

the attached patch fixes the documentation for these two rules.
also $(CPPFLAGS) and $(CFLAGS) are swapped (should not be an issue in most 
cases).

I think there are more rules that use $(TARGET_ARCH) without being mentioned in 
the docs.

Regards,
  Dominik

Attachment: correct_implicit_rules.patch
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]