Can't fight multiple compiler, versions, and OS and expect everyone to
agree while breaking the build for normal people.
Signed-off-by: Michel Pollet <buserror@gmail.com>
# get the first character of what the compiler says it is, unless it's 'x86_64' doh
ARCH := ${shell $(CC) -dumpmachine | sed -e 's/^x/i/' -e 's/\(.\).*/\1/'}
-CFLAGS += -O2 -Wall -Wextra -Werror -Wno-unused-parameter \
+CFLAGS += -O2 -Wall -Wextra -Wno-unused-parameter \
-Wno-unused-result -Wno-missing-field-initializers \
-Wno-sign-compare
CFLAGS += -g