about summary refs log tree commit diff
path: root/pkgs/development/compilers/gcc-4.6/builder.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/compilers/gcc-4.6/builder.sh')
-rw-r--r--pkgs/development/compilers/gcc-4.6/builder.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/compilers/gcc-4.6/builder.sh b/pkgs/development/compilers/gcc-4.6/builder.sh
index 0a18a81ac89f..54419ab678be 100644
--- a/pkgs/development/compilers/gcc-4.6/builder.sh
+++ b/pkgs/development/compilers/gcc-4.6/builder.sh
@@ -9,7 +9,7 @@ mkdir $NIX_FIXINC_DUMMY
 # Thing.
 export CPP="gcc -E"
 if test "$langCC" = "1"; then
-  export CXXCPP="gcc -E" #We only want this if C++ is enabled
+  export CXXCPP="g++ -E" #We only want this if C++ is enabled
 fi
 
 if test "$staticCompiler" = "1"; then