Skip to content

Commit

Permalink
build: remove asan/msan
Browse files Browse the repository at this point in the history
Signed-off-by: He Xian <hexian000@outlook.com>
  • Loading branch information
hexian000 committed Aug 31, 2024
1 parent 06fc0d1 commit 6222b65
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions make.sh
Original file line number Diff line number Diff line change
Expand Up @@ -86,24 +86,6 @@ case "$1" in
-o "${OUT}" "${PACKAGE}"
ls -lh "${OUT}"
;;
"asan")
GOFLAGS="${GOFLAGS} -asan"
GCFLAGS="${GCFLAGS} -N -l"
set -x
CGO_ENABLED=1 \
nice go build ${GOFLAGS} -gcflags "${GCFLAGS}" -ldflags "${LDFLAGS}" \
-o "${OUT}" "${PACKAGE}"
ls -lh "${OUT}"
;;
"msan")
GOFLAGS="${GOFLAGS} -msan"
GCFLAGS="${GCFLAGS} -N -l"
set -x
CGO_ENABLED=1 CC=clang \
nice go build ${GOFLAGS} -gcflags "${GCFLAGS}" -ldflags "${LDFLAGS}" \
-o "${OUT}" "${PACKAGE}"
ls -lh "${OUT}"
;;
*)
GCFLAGS="${GCFLAGS} -N -l"
set -x
Expand Down

0 comments on commit 6222b65

Please sign in to comment.