[pbuilder] 01/01: buildpackage-funcs: also use the 'cross' build profile while cross building

Mattia Rizzolo mattia at debian.org
Sun Oct 9 10:59:43 UTC 2016


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

mattia pushed a commit to branch cross
in repository pbuilder.

commit 9f7b3c0cc5d232095943f837d69263590418b480
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sun Oct 9 10:58:57 2016 +0000

    buildpackage-funcs: also use the 'cross' build profile while cross building
---
 pbuilder-buildpackage-funcs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pbuilder-buildpackage-funcs b/pbuilder-buildpackage-funcs
index b9b3509..ca92465 100644
--- a/pbuilder-buildpackage-funcs
+++ b/pbuilder-buildpackage-funcs
@@ -221,7 +221,7 @@ cross_build_setup () {
         DEBBUILDOPTS="${DEBBUILDOPTS:+"$DEBBUILDOPTS"} --host-arch $HOST_ARCH"
         if [ "${NO_AUTO_CROSS:-}" != "yes" ]; then
             export DEB_BUILD_OPTIONS="${DEB_BUILD_OPTIONS:+"$DEB_BUILD_OPTIONS"} nocheck"
-            export DEB_BUILD_PROFILES="${DEB_BUILD_PROFILES:+"$DEB_BUILD_PROFILES"} nocheck"
+            export DEB_BUILD_PROFILES="${DEB_BUILD_PROFILES:+"$DEB_BUILD_PROFILES"} nocheck cross"
         fi
     else
         log.w "Doing a cross build, but not setting up the environment as instructed"

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



More information about the Pbuilder-maint mailing list