Commit 90099691 by Copybara-Service

Merge pull request #1216 from brjsp:master

PiperOrigin-RevId: 460478343
Change-Id: I58e2e1fb7b1776f37b1254ba5fd74d56b44cb4d0
parents 504229df 09e96049
...@@ -166,6 +166,9 @@ function(absl_cc_library) ...@@ -166,6 +166,9 @@ function(absl_cc_library)
set(PC_CFLAGS "${PC_CFLAGS} ${cflag}") set(PC_CFLAGS "${PC_CFLAGS} ${cflag}")
elseif(${cflag} MATCHES "^(-W|/w[1234eo])") elseif(${cflag} MATCHES "^(-W|/w[1234eo])")
# Don't impose our warnings on others. # Don't impose our warnings on others.
elseif(${cflag} MATCHES "^-m")
# Don't impose CPU instruction requirements on others, as
# the code performs feature detection on runtime.
else() else()
set(PC_CFLAGS "${PC_CFLAGS} ${cflag}") set(PC_CFLAGS "${PC_CFLAGS} ${cflag}")
endif() endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment