mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-06 08:08:53 +08:00
remove default build to add debugging info
This commit is contained in:
parent
68f296cc14
commit
ffb6f4ddbb
1 changed files with 6 additions and 2 deletions
|
@ -371,12 +371,16 @@ ifeq ($(PYTHON_FOUND),1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#######################################################################################################
|
#######################################################################################################
|
||||||
|
# macOS doesn't like this params
|
||||||
|
#MYCFLAGS += --param max-completely-peeled-insns=1000 --param max-completely-peel-times=10000
|
||||||
|
MYCFLAGS += -O3
|
||||||
|
|
||||||
CFLAGS ?= $(DEFCFLAGS)
|
CFLAGS ?= $(DEFCFLAGS)
|
||||||
CFLAGS += $(MYDEFS) $(MYCFLAGS) $(MYINCLUDES)
|
CFLAGS += $(MYDEFS) $(MYCFLAGS) $(MYINCLUDES)
|
||||||
|
|
||||||
# We cannot just use CFLAGS+=... because it has impact on sub-makes if CFLAGS is defined in env:
|
# We cannot just use CFLAGS+=... because it has impact on sub-makes if CFLAGS is defined in env:
|
||||||
PM3CFLAGS = $(CFLAGS)
|
PM3CFLAGS = $(CFLAGS)
|
||||||
PM3CFLAGS += -g -I./src -I./include -I../include -I../common -I../common_fpga $(PM3INCLUDES) $(INCLUDES)
|
PM3CFLAGS += -I./src -I./include -I../include -I../common -I../common_fpga $(PM3INCLUDES) $(INCLUDES)
|
||||||
# WIP Testing
|
# WIP Testing
|
||||||
#PM3CFLAGS += -std=c11 -pedantic
|
#PM3CFLAGS += -std=c11 -pedantic
|
||||||
|
|
||||||
|
@ -415,7 +419,7 @@ endif
|
||||||
|
|
||||||
PM3CFLAGS += -DHAVE_SNPRINTF
|
PM3CFLAGS += -DHAVE_SNPRINTF
|
||||||
|
|
||||||
CXXFLAGS ?= -Wall -Werror -O3
|
CXXFLAGS ?= -Wall -Werror
|
||||||
CXXFLAGS += $(MYDEFS) $(MYCXXFLAGS) $(MYINCLUDES)
|
CXXFLAGS += $(MYDEFS) $(MYCXXFLAGS) $(MYINCLUDES)
|
||||||
|
|
||||||
PM3CXXFLAGS = $(CXXFLAGS)
|
PM3CXXFLAGS = $(CXXFLAGS)
|
||||||
|
|
Loading…
Reference in a new issue