mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 03:56:54 +02:00
fix _FORTIFY_SOURCE warning
warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
This commit is contained in:
parent
bdc3b0834b
commit
76b785c90f
1 changed files with 2 additions and 2 deletions
|
@ -98,8 +98,8 @@ endif
|
|||
|
||||
ifeq ($(ZT_DEBUG),1)
|
||||
DEFS+=-DZT_TRACE
|
||||
override CFLAGS+=-Wall -g -pthread $(INCLUDES) $(DEFS)
|
||||
override CXXFLAGS+=-Wall -g -pthread $(INCLUDES) $(DEFS)
|
||||
override CFLAGS+=-Wall -g -O -pthread $(INCLUDES) $(DEFS)
|
||||
override CXXFLAGS+=-Wall -g -O -pthread $(INCLUDES) $(DEFS)
|
||||
LDFLAGS=
|
||||
STRIP?=echo
|
||||
# The following line enables optimization for the crypto code, since
|
||||
|
|
Loading…
Add table
Reference in a new issue