blob: 7f8811e3ae1e440cffe66de58ceee59de19dbb3c [file] [log] [blame]
# Copyright 2019 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file
# Compiler flags to build all packages with msan.
CPPFLAGS=" -U_FORTIFY_SOURCE"
CFLAGS=" -fsanitize=memory,fuzzer-no-link -fsanitize-memory-track-origins"
CXXFLAGS=" -fsanitize=memory,fuzzer-no-link -fsanitize-memory-track-origins"
LDFLAGS=" -Xcompiler -fsanitize=memory,fuzzer-no-link -Wl,--allow-shlib-undefined"