[Glibc-bsd-commits] r5888 - trunk/freebsd-libs/debian

stevenc-guest at alioth.debian.org stevenc-guest at alioth.debian.org
Sat Mar 5 01:19:22 UTC 2016


Author: stevenc-guest
Date: 2016-03-05 01:19:22 +0000 (Sat, 05 Mar 2016)
New Revision: 5888

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


Modified: trunk/freebsd-libs/debian/changelog
===================================================================
--- trunk/freebsd-libs/debian/changelog	2016-03-05 01:17:41 UTC (rev 5887)
+++ trunk/freebsd-libs/debian/changelog	2016-03-05 01:19:22 UTC (rev 5888)
@@ -1,6 +1,8 @@
 freebsd-libs (10.3~svn296373-1) UNRELEASED; urgency=medium
 
   * New upstream snapshot of 10.3-RC1
+  * Actually use the proper build architecture compiler
+    (thanks, Helmut Grohne!)
   * Add myself to Uploaders
 
  -- Steven Chamberlain <steven at pyro.eu.org>  Sat, 05 Mar 2016 01:12:41 +0000

Modified: trunk/freebsd-libs/debian/rules
===================================================================
--- trunk/freebsd-libs/debian/rules	2016-03-05 01:17:41 UTC (rev 5887)
+++ trunk/freebsd-libs/debian/rules	2016-03-05 01:19:22 UTC (rev 5888)
@@ -2,6 +2,12 @@
 # -*- makefile -*-
 # Sample debian/rules that uses debhelper.
 
+# 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
+
 SHELL = bash
 
 # Uncomment this to turn on verbose mode.




More information about the Glibc-bsd-commits mailing list