Skip to content

Commit

Permalink
Added -fno-strict-aliasing to build script
Browse files Browse the repository at this point in the history
  • Loading branch information
rxi committed Jun 13, 2020
1 parent 7517d0e commit 1a82fd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

cflags="-Wall -O3 -g -std=gnu11 -Isrc"
cflags="-Wall -O3 -g -std=gnu11 -fno-strict-aliasing -Isrc"
lflags="-lSDL2 -lm"

if [[ $* == *windows* ]]; then
Expand Down

0 comments on commit 1a82fd2

Please sign in to comment.