From c52ce2f847f368391c36166aebe76515b02f7c7c Mon Sep 17 00:00:00 2001 From: Bernhard Schommer Date: Fri, 24 Jun 2016 16:12:37 +0200 Subject: Also add braces for arm. Bug 19197 --- driver/Driver.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'driver') diff --git a/driver/Driver.ml b/driver/Driver.ml index 3e327437..7311215d 100644 --- a/driver/Driver.ml +++ b/driver/Driver.ml @@ -415,10 +415,10 @@ let cmdline_actions = (* Target processor options *) Exact "-conf", String (fun _ -> ()); (* Ignore option since it is already handled *) Exact "-target", String (fun _ -> ());] @ (* Ignore option since it is already handled *) - if Configuration.arch = "arm" then + (if Configuration.arch = "arm" then [ Exact "-mthumb", Set option_mthumb; Exact "-marm", Unset option_mthumb; ] - else [] @ + else []) @ (* Assembling options *) assembler_actions @ (* Linking options *) -- cgit