Skip to content
This repository has been archived by the owner on Sep 29, 2021. It is now read-only.

Commit

Permalink
Set C standard to GNU C11
Browse files Browse the repository at this point in the history
Versions of gcc prior to 5.1.0 need this as -std=gnu90 is the implied standard
for those, which doesn't let the project compile.
  • Loading branch information
phijor committed May 9, 2016
1 parent 108d9c4 commit 30d756a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linux/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ SRC_PATH = src
# Space-separated pkg-config libraries used by this project
LIBS =
# General compiler flags
COMPILE_FLAGS = -Wall -Wextra -fstrict-aliasing
COMPILE_FLAGS = -Wall -Wextra -fstrict-aliasing -std=gnu11
# Additional release-specific flags
RCOMPILE_FLAGS = -D NDEBUG -O2
# Additional debug-specific flags
Expand Down

0 comments on commit 30d756a

Please sign in to comment.