Also support build modes for controls

This commit is contained in:
Pierre Pronchery 2022-04-15 23:08:44 +02:00
parent c65457d804
commit a7dd98054d

View File

@ -5,6 +5,18 @@ cflags=-W -Wall -g -O2 -fPIC -D_FORTIFY_SOURCE=2 -fstack-protector
ldflags_force=`pkg-config --libs libDesktop` ldflags_force=`pkg-config --libs libDesktop`
ldflags=-Wl,-z,relro -Wl,-z,now ldflags=-Wl,-z,relro -Wl,-z,now
dist=Makefile dist=Makefile
mode=debug
#modes
[mode::embedded-debug]
[mode::release]
cppflags_force=-DNDEBUG
cflags=-W -Wall -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
[mode::embedded-release]
cppflags_force=-DNDEBUG
cflags=-W -Wall -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
[channels] [channels]
type=plugin type=plugin