Skip to content

Commit

Permalink
fix: add UBSAN flags
Browse files Browse the repository at this point in the history
  • Loading branch information
tensorush committed Jul 24, 2024
1 parent 77db221 commit be16789
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![CI][ci-shd]][ci-url]
[![LC][lc-shd]][lc-url]

## Zig build of [CFITSIO library](https://github.com/HEASARC/cfitsio).
## Zig build of [cfitsio library](https://github.com/HEASARC/cfitsio).

### :rocket: Usage

Expand Down
2 changes: 2 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,6 @@ const SOURCES = .{
const FLAGS = .{
"-std=gnu89",
"-D_REENTRANT",
"-fsanitize=undefined",
"-fsanitize-trap=undefined",
};

0 comments on commit be16789

Please sign in to comment.