mirror of
https://github.com/Interlisp/maiko.git
synced 2026-01-26 11:52:25 +00:00
Switch to compiling as ISO C99 + GNU extensions. (#203)
We currently build for ISO C90 with GNU extensions. The GNU extensions include both library and language features. Compiling without GNU extensions results in a number of compilation failures due to use of those library features. With this, we'll build for ISO C99 with the GNU extensions and can evaluate what's going on with those library features in the future.
This commit is contained in:
@@ -14,8 +14,8 @@ AR = ar rcv
|
||||
ANSICC = $(CC)
|
||||
|
||||
# Compiler flags
|
||||
CLANG_CFLAGS = -std=gnu89 -funsigned-char -fno-strict-aliasing -fwrapv
|
||||
GCC_CFLAGS = -std=gnu89 -funsigned-char -fno-strict-aliasing -fwrapv
|
||||
CLANG_CFLAGS = -std=gnu99 -funsigned-char -fno-strict-aliasing -fwrapv
|
||||
GCC_CFLAGS = -std=gnu99 -funsigned-char -fno-strict-aliasing -fwrapv
|
||||
|
||||
# for the files that need to be included in byte-swapped implementations:
|
||||
BYTESWAPFILES =
|
||||
|
||||
Reference in New Issue
Block a user