forked from OSchip/llvm-project
[cmake] Remove accidentally committed warning messages
llvm-svn: 312393
This commit is contained in:
parent
99f4ead12a
commit
f5addb18f2
|
@ -129,12 +129,10 @@ function(add_compiler_rt_runtime name type)
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
foreach(os ${LIB_OS})
|
foreach(os ${LIB_OS})
|
||||||
# Strip out -msse3 if this isn't macOS.
|
# Strip out -msse3 if this isn't macOS.
|
||||||
message(WARNING "BEFORE: ${LIB_CFLAGS}")
|
|
||||||
list(LENGTH LIB_CFLAGS HAS_EXTRA_CFLAGS)
|
list(LENGTH LIB_CFLAGS HAS_EXTRA_CFLAGS)
|
||||||
if(HAS_EXTRA_CFLAGS AND NOT "${os}" MATCHES "^(osx)$")
|
if(HAS_EXTRA_CFLAGS AND NOT "${os}" MATCHES "^(osx)$")
|
||||||
list(REMOVE_ITEM LIB_CFLAGS "-msse3")
|
list(REMOVE_ITEM LIB_CFLAGS "-msse3")
|
||||||
endif()
|
endif()
|
||||||
message(WARNING "AFTER: ${LIB_CFLAGS}")
|
|
||||||
if(type STREQUAL "STATIC")
|
if(type STREQUAL "STATIC")
|
||||||
set(libname "${name}_${os}")
|
set(libname "${name}_${os}")
|
||||||
else()
|
else()
|
||||||
|
|
Loading…
Reference in New Issue