Skip to content

Commit 1a82fd2

Browse files
committed
Added -fno-strict-aliasing to build script
1 parent 7517d0e commit 1a82fd2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

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

66
if [[ $* == *windows* ]]; then

0 commit comments

Comments
 (0)