* Propose using $(STDCPPLIBS) definition for version-independent linking

of standard C++ libraries (stdc++.r4 <-> stdc++ supc++);
* Force C++ language at preprocessing the sources before localization catkeys
  collecting. It gives a hint for compiler to handle .pre file as C++ one 
  preventing breaking on "unfound" C++ headers. Thanks to Vitaly Diger for 
  pointing it out.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42926 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Siarzhuk Zharski
2011-10-26 20:12:09 +00:00
parent bbcc2a8c03
commit 9de720a4ac
2 changed files with 12 additions and 5 deletions
+4 -1
View File
@@ -1,4 +1,4 @@
## BeOS Generic Makefile v2.4 ##
## BeOS Generic Makefile v2.5 ##
## Fill in this file to specify the project being created, and the referenced
## makefile-engine will do all of the hard work for you. This handles both
@@ -56,6 +56,9 @@ RSRCS=
# libXXX.so or libXXX.a you can simply specify XXX
# library: libbe.so entry: be
#
# - for version-independent linking of standard C++ libraries please add
# $(STDCPPLIBS) instead of raw "stdc++[.r4] [supc++]" library names
#
# - for localization support add following libs:
# locale localestub
#