From 0a2629b38e5f8ea95e51fff170e64ac59716a212 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Tue, 29 Mar 2016 22:06:07 +0200 Subject: [PATCH] Config: The cflags in vms-alpha and vms-ia64 have to be added "vms-generic" already has some values, which were discarded. Reviewed-by: Rich Salz --- Configurations/10-main.conf | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Configurations/10-main.conf b/Configurations/10-main.conf index 45a685fba2..11ff13e348 100644 --- a/Configurations/10-main.conf +++ b/Configurations/10-main.conf @@ -1740,10 +1740,10 @@ sub vms_info { #}, "vms-alpha" => { inherit_from => [ "vms-generic" ], - cflags => sub { my @warnings = - @{vms_info()->{disable_warns}}; - @warnings - ? "/WARNINGS=DISABLE=(".join(",",@warnings).")" : (); }, + cflags => add(sub { my @warnings = + @{vms_info()->{disable_warns}}; + @warnings + ? "/WARNINGS=DISABLE=(".join(",",@warnings).")" : (); }), #as => "???", #debug_aflags => "/NOOPTIMIZE/DEBUG", #release_aflags => "/OPTIMIZE/NODEBUG", @@ -1773,10 +1773,10 @@ sub vms_info { }, "vms-ia64" => { inherit_from => [ "vms-generic" ], - cflags => sub { my @warnings = - @{vms_info()->{disable_warns}}; - @warnings - ? "/WARNINGS=DISABLE=(".join(",",@warnings).")" : (); }, + cflags => add(sub { my @warnings = + @{vms_info()->{disable_warns}}; + @warnings + ? "/WARNINGS=DISABLE=(".join(",",@warnings).")" : (); }), #as => "I4S", #debug_aflags => "/NOOPTIMIZE/DEBUG", #release_aflags => "/OPTIMIZE/NODEBUG", -- 2.25.1