diff --git a/client/Makefile b/client/Makefile index d45e958f7..94ad5079b 100644 --- a/client/Makefile +++ b/client/Makefile @@ -371,12 +371,16 @@ ifeq ($(PYTHON_FOUND),1) 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 += $(MYDEFS) $(MYCFLAGS) $(MYINCLUDES) # We cannot just use CFLAGS+=... because it has impact on sub-makes if CFLAGS is defined in env: 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 #PM3CFLAGS += -std=c11 -pedantic @@ -415,7 +419,7 @@ endif PM3CFLAGS += -DHAVE_SNPRINTF -CXXFLAGS ?= -Wall -Werror -O3 +CXXFLAGS ?= -Wall -Werror CXXFLAGS += $(MYDEFS) $(MYCXXFLAGS) $(MYINCLUDES) PM3CXXFLAGS = $(CXXFLAGS)