mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-29 12:29:40 -05:00
Remove Clang-specific cflags when switching compilers
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
1 parent
bc229a38ad
commit
54cd7004b9
1 file changed
+1
@@ -280,6 +280,7 @@ Please take one of the following actions:
|
||||
cflags =~ %r{(-Xarch_i386 )-march=}
|
||||
xarch = $1.to_s
|
||||
remove_from_cflags %r{(-Xarch_i386 )?-march=\S*}
|
||||
remove_from_cflags %r{( -Xclang \S+)+}
|
||||
remove_from_cflags %r{-mssse3}
|
||||
remove_from_cflags %r{-msse4(\.\d)?}
|
||||
# Don't set -msse3 and older flags because -march does that for us
|
||||
|
||||
Reference in new issue
Block a user