mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-10 07:12:07 +00:00
Don't enforce a C standard in Makefile.
This matches the behavior of cmake. Besides that we have some optional C11 code and it should be used if the compiler has support for it. And C99 as default is a remnant from the old times were we didn't want C11 in the standard code path, because several old Linux distros didn't support it...
This commit is contained in:
parent
11bea2a68b
commit
3a9b8de2ab
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -163,7 +163,7 @@ endif
|
|||
# and the game code requires it.
|
||||
# -fvisibility=hidden to keep symbols hidden. This is
|
||||
# mostly best practice and not really necessary.
|
||||
override CFLAGS += -std=gnu99 -fno-strict-aliasing -fwrapv -fvisibility=hidden
|
||||
override CFLAGS += -fno-strict-aliasing -fwrapv -fvisibility=hidden
|
||||
|
||||
# -MMD to generate header dependencies. Unsupported by
|
||||
# the Clang shipped with OS X.
|
||||
|
|
Loading…
Reference in a new issue