Skip to content
Snippets Groups Projects
Commit 0cbef095 authored by Vincent Dupont's avatar Vincent Dupont
Browse files

native: use gnu99 by default

parent 515d3a65
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,11 @@ export CGANNOTATE ?= cg_annotate
export GPROF ?= gprof
# basic cflags:
export CFLAGS += -Wall -Wextra -pedantic -std=gnu99
export CFLAGS += -Wall -Wextra -pedantic
# default std set to gnu99 of not overwritten by user
ifeq (,$(filter -std=%, $(CFLAGS)))
export CFLAGS += -std=gnu99
endif
ifeq ($(shell uname -m),x86_64)
export CFLAGS += -m32
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment