summaryrefslogtreecommitdiff
path: root/Build.pm
diff options
context:
space:
mode:
authorMichael Schröder <mls@suse.de>2008-11-21 14:28:45 +0000
committerMichael Schröder <mls@suse.de>2008-11-21 14:28:45 +0000
commit9fd47e87e66bcc90129ed548cf26cbe2d2b55674 (patch)
tree715179e674b9888d1ed3e4ddf009ee8043a040b6 /Build.pm
parente42f7bc7efa7e17cd11fc62f1539c165322f0f0d (diff)
downloadobs-build-9fd47e87e66bcc90129ed548cf26cbe2d2b55674.tar.gz
obs-build-9fd47e87e66bcc90129ed548cf26cbe2d2b55674.tar.bz2
obs-build-9fd47e87e66bcc90129ed548cf26cbe2d2b55674.zip
- add parse method to Build::Kiwi
- support kiwi product builds
Diffstat (limited to 'Build.pm')
-rw-r--r--Build.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Build.pm b/Build.pm
index 46ad1aa..cf470e1 100644
--- a/Build.pm
+++ b/Build.pm
@@ -105,7 +105,7 @@ sub read_config {
my @macros = split("\n", $std_macros.$extra_macros);
push @macros, "%define _target_cpu $arch";
push @macros, "%define _target_os linux";
- my $config = {'macros' => \@macros};
+ my $config = {'macros' => \@macros, 'arch' => $arch};
my @config;
if (ref($cfile)) {
@config = @$cfile;