Do not leak -maes -msse4.1 into pkgconfig

pull/1216/head
Bruno Pitrus 3 years ago
parent 427d8f5756
commit 09e9604999
No known key found for this signature in database
GPG Key ID: 32B7566977935F75
  1. 2
      CMake/AbseilHelpers.cmake

@ -166,6 +166,8 @@ 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()

Loading…
Cancel
Save