Use -ansi -pedantic compilation flags for Linux build.

This commit is contained in:
Nigel Stewart 2015-02-21 23:44:40 +10:00 committed by Nigel Stewart
parent 8a0c6a00cd
commit 3259e68433

View File

@ -24,6 +24,7 @@ WARN = -Wall -W
POPT = -O2 POPT = -O2
CFLAGS.EXTRA += -fPIC CFLAGS.EXTRA += -fPIC
CFLAGS.EXTRA += -Wcast-qual CFLAGS.EXTRA += -Wcast-qual
CFLAGS.EXTRA += -ansi -pedantic
BIN.SUFFIX = BIN.SUFFIX =
LIB.SONAME = lib$(NAME).so.$(SO_MAJOR) LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
LIB.DEVLNK = lib$(NAME).so LIB.DEVLNK = lib$(NAME).so