Add -fno-strict-aliasing

We modify the same memory through pointers of different types all the
live long day.

Signed-off-by: Zach Brown <zab@versity.com>
This commit is contained in:
Zach Brown
2016-07-27 13:49:27 -07:00
parent 1cacc50de0
commit c48e08a378
+2 -1
View File
@@ -1,4 +1,5 @@
CFLAGS := -Wall -O2 -Werror -D_FILE_OFFSET_BITS=64 -g -mrdrnd -msse4.2
CFLAGS := -Wall -O2 -Werror -D_FILE_OFFSET_BITS=64 -g -mrdrnd -msse4.2 \
-fno-strict-aliasing
BIN := src/scoutfs
OBJ := $(patsubst %.c,%.o,$(wildcard src/*.c))