From 44e5a5ace675d1c5631364893e5b6f735d59817d Mon Sep 17 00:00:00 2001 From: "BADIM-PC\\Vadim" Date: Mon, 20 Nov 2017 09:26:39 +0300 Subject: [PATCH] CHIP compilation flgs --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c5d621b..fe7eee3 100644 --- a/Makefile +++ b/Makefile @@ -308,11 +308,10 @@ linux32-lto-pro: make linux32-lto OPT="$(OPT)" chip-lto: - $(CC) $(LINUX_INCLUDES) $(SOURCES) $(TIC80_SRC) $(OPT) $(INCLUDES) $(LINUX_ARM_LIBS) $(LINUX_LINKER_LTO_FLAGS) -flto -o bin/tic + $(CC) $(LINUX_INCLUDES) $(SOURCES) $(TIC80_SRC) $(OPT) -D__CHIP__ $(INCLUDES) $(LINUX_ARM_LIBS) $(LINUX_LINKER_LTO_FLAGS) -flto -o bin/tic chip-lto-pro: $(eval OPT += $(OPT_PRO)) - $(eval OPT += __CHIP__) make chip-lto OPT="$(OPT)" linux: