summaryrefslogtreecommitdiff
path: root/Debian/Debhelper/Buildsystem.pm
diff options
context:
space:
mode:
authorJoey Hess <joey@kitenet.net>2010-05-09 12:44:19 -0400
committerJoey Hess <joey@kitenet.net>2010-05-09 12:44:19 -0400
commitc77e9d08ced12f8180a3f1c173570cbfe569c2da (patch)
tree9b77adda5e09491679d9dd386db4a53e475494e9 /Debian/Debhelper/Buildsystem.pm
parentccbde27ebd7562d540cf525c877ca996acc61318 (diff)
remove now-unnecessary caching
Diffstat (limited to 'Debian/Debhelper/Buildsystem.pm')
-rw-r--r--Debian/Debhelper/Buildsystem.pm6
1 files changed, 1 insertions, 5 deletions
diff --git a/Debian/Debhelper/Buildsystem.pm b/Debian/Debhelper/Buildsystem.pm
index 88aefab..763baa9 100644
--- a/Debian/Debhelper/Buildsystem.pm
+++ b/Debian/Debhelper/Buildsystem.pm
@@ -12,10 +12,6 @@ use Cwd ();
use File::Spec;
use Debian::Debhelper::Dh_Lib;
-# Cache DEB_BUILD_GNU_TYPE value. Performance hit of multiple
-# invocations is noticable when listing build systems.
-our $DEB_BUILD_GNU_TYPE = dpkg_architecture_value("DEB_BUILD_GNU_TYPE");
-
# Build system name. Defaults to the last component of the class
# name. Do not override this method unless you know what you are
# doing.
@@ -38,7 +34,7 @@ sub DESCRIPTION {
# Default build directory. Can be overriden in the derived
# class if really needed.
sub DEFAULT_BUILD_DIRECTORY {
- "obj-" . $DEB_BUILD_GNU_TYPE;
+ "obj-" . dpkg_architecture_value("DEB_BUILD_GNU_TYPE");
}
# Constructs a new build system object. Named parameters: