From fb65d5a1f89a1e3a7e63386a5b1f6b510ebae484 Mon Sep 17 00:00:00 2001 From: Bo Anderson Date: Fri, 24 Apr 2020 00:29:02 +0100 Subject: [PATCH] shims/super/cc: relax restrictions with -Xclang --- Library/Homebrew/shims/super/cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/shims/super/cc b/Library/Homebrew/shims/super/cc index 13bb32832a..212271727e 100755 --- a/Library/Homebrew/shims/super/cc +++ b/Library/Homebrew/shims/super/cc @@ -185,7 +185,7 @@ class Cmd "-fuse-linker-plugin", "-frounding-math" # clang doesn't support these flags args << arg unless tool =~ /^clang/ - when "-Xpreprocessor" + when "-Xpreprocessor", "-Xclang" # used for -Xpreprocessor -fopenmp args << arg << enum.next when /-mmacosx-version-min=10\.(\d+)/