mirror of
https://github.com/google/cpu_features.git
synced 2025-04-27 23:22:31 +02:00
bazel: Fix windows build
This commit is contained in:
parent
fc5d64a56d
commit
6ae01f1e85
@ -13,7 +13,9 @@ exports_files(["LICENSE"])
|
||||
|
||||
INCLUDES = ["include"]
|
||||
|
||||
C99_FLAGS = [
|
||||
C99_FLAGS = select({
|
||||
"@platforms//os:windows": [],
|
||||
"//conditions:default": [
|
||||
"-Wall",
|
||||
"-Wextra",
|
||||
"-Wmissing-declarations",
|
||||
@ -24,7 +26,8 @@ C99_FLAGS = [
|
||||
"-Wshadow",
|
||||
"-Wsign-compare",
|
||||
"-Wstrict-prototypes",
|
||||
]
|
||||
],
|
||||
})
|
||||
|
||||
cc_library(
|
||||
name = "cpu_features_macros",
|
||||
|
Loading…
x
Reference in New Issue
Block a user