Name the default compilation mode "debug"
This commit is contained in:
parent
c69145b9a3
commit
47472616c6
|
@ -9,6 +9,8 @@ ldflags=-Wl,-z,relro -Wl,-z,now
|
|||
dist=Makefile,token.h,python/project.conf,python/Makefile,python/libSystem.c,python/libSystem.py
|
||||
|
||||
#modes
|
||||
[mode::debug]
|
||||
|
||||
[mode::release]
|
||||
cppflags_force=-DNDEBUG
|
||||
cflags=-W -Wall -O2 -D_FORTIFY_SOURCE=2 -fstack-protector
|
||||
|
|
|
@ -7,6 +7,8 @@ ldflags=-Wl,-rpath,$(LIBDIR) -Wl,-z,relro -Wl,-z,now
|
|||
dist=Makefile,libSystem.py
|
||||
|
||||
#modes
|
||||
[mode::debug]
|
||||
|
||||
[mode::release]
|
||||
cppflags_force=-I../../include -DNDEBUG
|
||||
cflags=-W -Wall -O2 -D_FORTIFY_SOURCE=2 -fstack-protector
|
||||
|
|
|
@ -5,6 +5,9 @@ ldflags_force=-L$(OBJDIR)../src -L$(OBJDIR)../src/.libs -Wl,-rpath,$(OBJDIR)../s
|
|||
ldflags=-pie -Wl,-z,relro -Wl,-z,now
|
||||
dist=Makefile,clint.sh,config.conf,config-empty.conf,config-noeol.conf,coverage.sh,fixme.sh,pkgconfig.sh,pylint.sh,python.sh,tests.sh
|
||||
|
||||
#modes
|
||||
[mode::debug]
|
||||
|
||||
#targets
|
||||
[array]
|
||||
type=binary
|
||||
|
|
|
@ -7,6 +7,8 @@ ldflags=-pie -Wl,-z,relro -Wl,-z,now
|
|||
dist=Makefile,platform.sh,subst.sh
|
||||
|
||||
#modes
|
||||
[mode::debug]
|
||||
|
||||
[mode::release]
|
||||
cppflags_force=-I../include -DNDEBUG
|
||||
cflags=-W -Wall -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
|
||||
|
|
Loading…
Reference in New Issue
Block a user