commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[mig] 01/01: Fix stage1 build with cross-compiler which doesn't have /us


From: Samuel Thibault
Subject: [mig] 01/01: Fix stage1 build with cross-compiler which doesn't have /usr/include in standard include
Date: Fri, 21 Aug 2015 13:57:19 +0000

This is an automated email from the git hooks/post-receive script.

sthibault pushed a commit to branch master
in repository mig.

commit 7bb253f472bb89486fcb5996c4bbfed3d3ee4079
Author: Samuel Thibault <address@hidden>
Date:   Fri Aug 21 15:57:14 2015 +0200

    Fix stage1 build with cross-compiler which doesn't have /usr/include in 
standard include
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index 323dc11..0ee578d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,6 +30,8 @@ else
 CROSS=-$(DEB_TARGET_GNU_TYPE)
 CROSSDEP=:$(DEB_TARGET_ARCH)
 ARCH=$(DEB_HOST_ARCH)
+# The cross compiler at this stage does not have these in its standard include
+export TARGET_CPPFLAGS = -I/usr/include -I/usr/include/$(DEB_TARGET_GNU_TYPE)
 endif
 debian/control: debian/control.stamp
 debian/control.stamp: debian/control.in

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-hurd/mig.git



reply via email to

[Prev in Thread] Current Thread [Next in Thread]