From 26f7393ea977412b37b2c447fb05faa3b09695b3 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Fri, 28 Mar 2014 14:49:45 -0500 Subject: [PATCH] Remove -fcaller-saves and -fthread-jumps for clang --- Library/ENV/4.3/cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc index 67bb0df07d..b09869bbdd 100755 --- a/Library/ENV/4.3/cc +++ b/Library/ENV/4.3/cc @@ -127,7 +127,8 @@ class Cmd '-pedantic', '-pedantic-errors' when '-fopenmp', '-lgomp', '-mno-fused-madd', '-fforce-addr', '-fno-defer-pop', '-mno-dynamic-no-pic', '-fearly-inlining', '-finline-functions-called-once', - /^-finline-limit/, /^-f(?:no-)?check-new/, '-fno-delete-null-pointer-checks' + /^-finline-limit/, /^-f(?:no-)?check-new/, '-fno-delete-null-pointer-checks', + '-fcaller-saves', '-fthread-jumps' # clang doesn't support these flags args << arg if not tool =~ /^clang/ when /^-W.*/