[pkg-boost-commits] r14118 - boost/trunk/debian

cavok at alioth.debian.org cavok at alioth.debian.org
Wed Aug 8 01:26:57 UTC 2007


Author: cavok
Date: 2007-08-08 01:26:57 +0000 (Wed, 08 Aug 2007)
New Revision: 14118

Modified:
   boost/trunk/debian/rules
Log:
bjam is built using gcc 4.1 also in case it is not the default gcc version

Modified: boost/trunk/debian/rules
===================================================================
--- boost/trunk/debian/rules	2007-08-08 01:24:22 UTC (rev 14117)
+++ boost/trunk/debian/rules	2007-08-08 01:26:57 UTC (rev 14118)
@@ -3,8 +3,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-# This has to be exported to make some magic below work.
 export DH_OPTIONS
+export CC
 
 DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
@@ -69,8 +69,9 @@
 
 JAM = $(bjam) -d2 --user-config=$(shell pwd)/user-config.jam -sHAVE_ICU=1
 
+$(bjam): CC=gcc-4.1
 $(bjam):
-	cd tools/jam/src && sh build.sh gcc && mv bin.*/bjam .
+	cd tools/jam/src && sh build.sh cc && mv bin.*/bjam .
 
 build: build-stamp
 build-stamp: $(bjam)




More information about the pkg-boost-commits mailing list