From a6c6910acf9593dabbabd2846c5561d6e311610c Mon Sep 17 00:00:00 2001 From: Markham Date: Thu, 16 Jan 2020 17:41:05 +0100 Subject: [PATCH] nevis: use -Os compiler flag --- make/neutrino.mk | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/make/neutrino.mk b/make/neutrino.mk index 472085c..75f721c 100755 --- a/make/neutrino.mk +++ b/make/neutrino.mk @@ -7,7 +7,11 @@ N_CFLAGS += -Wformat-truncation=0 -Wno-ignored-qualifiers N_CFLAGS += -Wno-int-in-bool-context -Wno-cast-function-type endif +ifeq ($(BOXSERIES), hd1) +N_CFLAGS += -Os +else N_CFLAGS += -O2 +endif N_CFLAGS += -fmax-errors=10 #N_CFLAGS += -D__KERNEL_STRICT_NAMES N_CFLAGS += -DNEW_LIBCURL -- 2.39.5