aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimon Warta <[email protected]>2015-07-02 18:05:41 +0200
committerSimon Warta <[email protected]>2015-07-21 20:06:18 +0200
commit321a194a5400e200ecd02568706fa7b8c1339fcc (patch)
treedd32164264754b9b4b67e775ebcd518711aa789b
parente253ac7edc7f3968021d3e7fcae765b4b2090643 (diff)
Rename template variable cc -> cxx
-rwxr-xr-xconfigure.py2
-rw-r--r--src/build-data/buildh.in3
-rw-r--r--src/build-data/makefile/header.in2
3 files changed, 3 insertions, 4 deletions
diff --git a/configure.py b/configure.py
index 279bd0e56..31d44a4cf 100755
--- a/configure.py
+++ b/configure.py
@@ -1273,7 +1273,7 @@ def create_template_vars(build_config, options, modules, cc, arch, osinfo):
'mp_bits': choose_mp_bits(),
- 'cc': (options.compiler_binary or cc.binary_name) + cc.mach_abi_link_flags(options),
+ 'cxx': (options.compiler_binary or cc.binary_name) + cc.mach_abi_link_flags(options),
'lib_opt': cc.opt_flags('lib', options),
'app_opt': cc.opt_flags('app', options),
diff --git a/src/build-data/buildh.in b/src/build-data/buildh.in
index c83e3fcd1..5db2ce566 100644
--- a/src/build-data/buildh.in
+++ b/src/build-data/buildh.in
@@ -1,4 +1,3 @@
-
#ifndef BOTAN_BUILD_CONFIG_H__
#define BOTAN_BUILD_CONFIG_H__
@@ -7,7 +6,7 @@
* %{user}@%{hostname} running '%{command_line}'
*
* Target
-* - Compiler: %{cc} %{lib_opt}
+* - Compiler: %{cxx} %{lib_opt}
* - Arch: %{submodel}/%{arch}
* - OS: %{os}
*/
diff --git a/src/build-data/makefile/header.in b/src/build-data/makefile/header.in
index b0e248ebe..d821361f6 100644
--- a/src/build-data/makefile/header.in
+++ b/src/build-data/makefile/header.in
@@ -1,5 +1,5 @@
# Compiler Options
-CXX = %{cc}
+CXX = %{cxx}
LIB_OPT = %{lib_opt}
APP_OPT = %{app_opt}
LANG_FLAGS = %{lang_flags}