--- makeopts.in.orig	2010-06-11 06:35:06.000000000 +1000
+++ makeopts.in	2011-05-09 13:01:00.000000000 +1000
@@ -3,8 +3,8 @@
 #       dependencies in menuselect for the same package.
 
 CC=@PTHREAD_CC@
-HOST_CC=cc
-BUILD_CC=cc
+HOST_CC=@CC@
+BUILD_CC=@CC@
 CXX=@CXX@
 
 INSTALL=@INSTALL@
