[Glibc-bsd-commits] r5884 - trunk/freebsd-glue/debian

stevenc-guest at alioth.debian.org stevenc-guest at alioth.debian.org
Sat Mar 5 00:52:41 UTC 2016


Author: stevenc-guest
Date: 2016-03-05 00:52:41 +0000 (Sat, 05 Mar 2016)
New Revision: 5884

Modified:
   trunk/freebsd-glue/debian/changelog
   trunk/freebsd-glue/debian/rules
Log:
Actually use the proper build architecture compiler
(thanks, Helmut Grohne!)


Modified: trunk/freebsd-glue/debian/changelog
===================================================================
--- trunk/freebsd-glue/debian/changelog	2016-03-05 00:42:43 UTC (rev 5883)
+++ trunk/freebsd-glue/debian/changelog	2016-03-05 00:52:41 UTC (rev 5884)
@@ -1,3 +1,10 @@
+freebsd-glue (0.2.22) UNRELEASED; urgency=medium
+
+  * Actually use the proper build architecture compiler
+    (thanks, Helmut Grohne!)
+
+ -- Steven Chamberlain <steven at pyro.eu.org>  Sat, 05 Mar 2016 00:48:23 +0000
+
 freebsd-glue (0.2.21) unstable; urgency=medium
 
   * Add myself to Uploaders.

Modified: trunk/freebsd-glue/debian/rules
===================================================================
--- trunk/freebsd-glue/debian/rules	2016-03-05 00:42:43 UTC (rev 5883)
+++ trunk/freebsd-glue/debian/rules	2016-03-05 00:52:41 UTC (rev 5884)
@@ -28,9 +28,15 @@
 	RESCUE=yes \
 	$(NULL)
 
-DEB_HOST_GNU_TYPE	?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_HOST_ARCH_OS	?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 
+# Determine host architecture compiler
+DEB_HOST_GNU_TYPE	?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+ifeq ($(origin CC),default)
+CC := $(DEB_HOST_GNU_TYPE)-gcc
+endif
+
+# Determine build architecture compiler
 DEB_BUILD_GNU_TYPE	?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 NATIVE_CC		?= $(DEB_BUILD_GNU_TYPE)-gcc
 




More information about the Glibc-bsd-commits mailing list