Merge pull request #913 from anthraxx/master

extend global CFLAGS and LDFLAGS to aid distro packaging
This commit is contained in:
Jens Steube
2016-12-07 12:30:02 +01:00
committed by GitHub

View File

@@ -101,7 +101,7 @@ BINARY_NATIVE := $(PROG_NAME)
## General compiler and linker options
##
CFLAGS := -pipe -std=c99 -Iinclude/ -IOpenCL/
CFLAGS += -pipe -std=c99 -Iinclude/ -IOpenCL/
CFLAGS += -W
CFLAGS += -Wall
CFLAGS += -Wextra
@@ -137,7 +137,7 @@ CFLAGS += -ftrapv
#CFLAGS += -Wstack-usage=524288
LFLAGS :=
LFLAGS := $(LDFLAGS)
ifndef DEBUG
CFLAGS += -O2