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

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