Skip to content

Commit

Permalink
reverting flag for testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
KateBlueSky committed Feb 25, 2025
1 parent 02d498a commit 5c413a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dev/bazel/flags.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ def get_default_flags(arch_id, os_id, compiler_id, category = "common"):
flags = flags + ["-Wno-unused-command-line-argument"]
if compiler_id == "gcc" or compiler_id == "icpx":
flags = flags + ["-Wno-gnu-zero-variadic-macro-arguments"]
if compiler_id == "gcc":
flags = flags + ["-Wno-dangling-reference"]
#if compiler_id == "gcc":
# flags = flags + ["-Wno-dangling-reference"]
if compiler_id not in ["icx", "icpx"]:
flags = flags + ["-fno-strict-overflow"]
return flags
Expand Down

0 comments on commit 5c413a0

Please sign in to comment.