mirror of
https://github.com/thepigeongenerator/mcaselector-lite.git
synced 2025-12-17 07:55:45 +01:00
switch from c17 to gnu99
I am choosing gnu99 over c99, since I am planning to use GNU extensions, like bswap. (in a future commit) Why I choose c99 over c17, is because this'll produce more portable code. c99 does not implement noreturn.h, thus I added it to the compiler attributes header.
This commit is contained in:
2
makefile
2
makefile
@@ -9,7 +9,7 @@ NAME := mcaselector-lite
|
||||
VERSION := 0.0.0
|
||||
DEBUG ?= 0
|
||||
CC ?= cc
|
||||
CFLAGS += -c -std=c17 -Wall -Wextra -Wpedantic -Ilib -MMD -MP
|
||||
CFLAGS += -c -std=gnu99 -Wall -Wextra -Wpedantic -Ilib -MMD -MP
|
||||
LDFLAGS +=
|
||||
MARCH ?= $(shell uname -m)
|
||||
KERNEL ?= $(shell uname -s | tr '[:upper:]' '[:lower:]')
|
||||
|
||||
Reference in New Issue
Block a user