Older gcc do not accept _GNU_SOURCE as a replacement for -std=c99
This commit is contained in:
+1
-1
@@ -94,7 +94,7 @@ VERSION_TAG := $(shell test -d .git && git describe --tags --dirty=
|
||||
## Compiler flags
|
||||
##
|
||||
|
||||
CFLAGS += -pipe -W -Wall -Iinclude/ -IOpenCL/ -I$(OPENCL_HEADERS_KHRONOS)/
|
||||
CFLAGS += -pipe -W -Wall -std=c99 -Iinclude/ -IOpenCL/ -I$(OPENCL_HEADERS_KHRONOS)/
|
||||
|
||||
ifndef DEBUG
|
||||
CFLAGS += -O2
|
||||
|
||||
Reference in New Issue
Block a user