Added `-fno-strict-aliasing` to build script

This commit is contained in:
rxi 2020-06-13 13:35:36 +01:00
parent 7517d0ef55
commit 1a82fd2b92
1 changed files with 1 additions and 1 deletions

View File

@ -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