Dash:
[t2-trunk.git] / package / base / ncurses / c++.patch
blobd1003846a4dab2213af6782be9fde5b771a0f69b
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
3 #
4 # T2 SDE: package/.../ncurses/c++.patch
5 # Copyright (C) 2008 The T2 SDE Project
6 #
7 # More information can be found in the files COPYING and README.
8 #
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
14 # version.
15 # --- T2-COPYRIGHT-NOTE-END ---
17 CC is set during cross compilation and utilzing non default compilers (ICC et al).
19 - Rene Rebe <rene@exactcode.de>
21 --- ncurses-5.7/c++/Makefile.in.vanilla 2008-11-04 08:51:36.000000000 +0100
22 +++ ncurses-5.7/c++/Makefile.in 2008-11-04 08:52:11.000000000 +0100
23 @@ -75,7 +75,7 @@
24 INCDIR = ../include
25 CPPFLAGS = -I../c++ -I$(INCDIR) -I$(srcdir) -DHAVE_CONFIG_H @CPPFLAGS@
27 -CC = ${CXX}
28 +override CC = ${CXX}
29 CCFLAGS = $(CPPFLAGS) $(CXXFLAGS)
31 CFLAGS_LIBTOOL = $(CCFLAGS)