xref: /third_party/libsnd/Scripts/clang-sanitize.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/libsnd/Scripts/
1b815c7f3Sopenharmony_ci#!/bin/bash
2b815c7f3Sopenharmony_ci
3b815c7f3Sopenharmony_ci# This is known to work with clang-3.4 from Debian testing/unstable.
4b815c7f3Sopenharmony_ci# 2013/07/14
5b815c7f3Sopenharmony_ci
6b815c7f3Sopenharmony_ciexport CC=clang
7b815c7f3Sopenharmony_ciexport CXX=clang++
8b815c7f3Sopenharmony_ciexport CFLAGS="-O3 -fsanitize=address,integer,undefined"
9b815c7f3Sopenharmony_ciexport CXXFLAGS="-O3 -fsanitize=address,integer,undefined"
10b815c7f3Sopenharmony_ci
11b815c7f3Sopenharmony_ci./configure --enable-gcc-werror
12b815c7f3Sopenharmony_ci
13b815c7f3Sopenharmony_cimake clean all check
14

Indexes created Thu Nov 07 10:32:03 CST 2024