diff options
author | Copybara-Service <copybara-worker@google.com> | 2022-07-12 09:12:37 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-07-12 09:12:37 -0700 |
commit | 90099691acc77ad8a91addd4b2655fd6a1378993 (patch) | |
tree | b43296b38d920f0a1dca0d7889f43f4ec1f5d2e4 /CMake/AbseilHelpers.cmake | |
parent | 504229dfa44f072b21b79eea6b71c98e0229f09f (diff) | |
parent | 09e96049995584c3489e4bd1467313e3e85af99c (diff) |
Merge pull request #1216 from brjsp:master
PiperOrigin-RevId: 460478343
Change-Id: I58e2e1fb7b1776f37b1254ba5fd74d56b44cb4d0
Diffstat (limited to 'CMake/AbseilHelpers.cmake')
-rw-r--r-- | CMake/AbseilHelpers.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/CMake/AbseilHelpers.cmake b/CMake/AbseilHelpers.cmake index ebe9ddc8..f81d57cf 100644 --- a/CMake/AbseilHelpers.cmake +++ b/CMake/AbseilHelpers.cmake @@ -166,6 +166,9 @@ function(absl_cc_library) set(PC_CFLAGS "${PC_CFLAGS} ${cflag}") elseif(${cflag} MATCHES "^(-W|/w[1234eo])") # 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() set(PC_CFLAGS "${PC_CFLAGS} ${cflag}") endif() |