Skip to content
Snippets Groups Projects
Commit 12a1eb97 authored by Dmitry Marakasov's avatar Dmitry Marakasov
Browse files

Make CFLAGS more user-friendly

Set bits which may be overridden by the user (debug, optimization)
as default value, and append mandatory stuff (warnings, defines)
later
parent 847a2ee1
No related branches found
No related tags found
No related merge requests found
......@@ -5,8 +5,8 @@ GIT_VER = $(shell git describe --tags --dirty --always 2>/dev/null)
uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
deltacast_inc := $(shell sh -c 'test -f /usr/include/StreamMaster.h && echo -n Y')
CFLAGS += -Wall -Wformat-security -Wno-strict-aliasing -O3 -fomit-frame-pointer
CFLAGS += -g
CFLAGS ?= -O3 -fomit-frame-pointer -g
CFLAGS += -Wall -Wformat-security -Wno-strict-aliasing
CFLAGS += -DVERSION=\"$(VERSION_MAJOR).$(VERSION_MINOR)\"
CFLAGS += -DVERSION_MAJOR=$(VERSION_MAJOR)
CFLAGS += -DVERSION_MINOR=$(VERSION_MINOR)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment