]> git.donarmstrong.com Git - debhelper.git/commitdiff
Use target architecture for build directory name.
authorTom Hughes <tom.hughes@palm.com>
Thu, 6 Oct 2011 18:55:39 +0000 (11:55 -0700)
committerJoey Hess <joey@kitenet.net>
Thu, 6 Oct 2011 23:26:06 +0000 (19:26 -0400)
Debian/Debhelper/Buildsystem.pm

index 763baa9d1773d40957c87f11122fc094cf632034..c1a10e5eb39083c95e40dc6e52ec93b93e0e7219 100644 (file)
@@ -34,7 +34,7 @@ sub DESCRIPTION {
 # Default build directory. Can be overriden in the derived
 # class if really needed.
 sub DEFAULT_BUILD_DIRECTORY {
-       "obj-" . dpkg_architecture_value("DEB_BUILD_GNU_TYPE");
+       "obj-" . dpkg_architecture_value("DEB_HOST_GNU_TYPE");
 }
 
 # Constructs a new build system object. Named parameters: