1
0
mirror of https://github.com/google/cpu_features.git synced 2025-04-28 07:23:37 +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"] INCLUDES = ["include"]
C99_FLAGS = [ C99_FLAGS = select({
"@platforms//os:windows": [],
"//conditions:default": [
"-Wall", "-Wall",
"-Wextra", "-Wextra",
"-Wmissing-declarations", "-Wmissing-declarations",
@ -24,7 +26,8 @@ C99_FLAGS = [
"-Wshadow", "-Wshadow",
"-Wsign-compare", "-Wsign-compare",
"-Wstrict-prototypes", "-Wstrict-prototypes",
] ],
})
cc_library( cc_library(
name = "cpu_features_macros", name = "cpu_features_macros",