1
0
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:
Corentin Le Molgat 2024-12-11 10:19:00 +01:00
parent fc5d64a56d
commit 6ae01f1e85

View File

@ -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",