]> git.webhop.me Git - bs-cst-neutrino-hd.git/commitdiff
fix use -Os compiler flag
authorMarkham <markham001@gmx.de>
Sat, 18 Jan 2020 09:37:43 +0000 (10:37 +0100)
committerMarkham <markham001@gmx.de>
Sat, 18 Jan 2020 09:37:43 +0000 (10:37 +0100)
make/environment.mk
make/neutrino.mk

index 2967219c48854b47f9e5cbee5aee8723dad3a442..679e0ebb729d6c4bfb1ed1beaa79849372be5b55 100755 (executable)
@@ -124,7 +124,7 @@ endif
 
 ifeq ($(BOXSERIES), hd1)
   CORTEX-STRINGS         =
-  TARGET_O_CFLAGS        = -O2
+  TARGET_O_CFLAGS        = -Os
   TARGET_MARCH_CFLAGS    = -march=armv6 -mfloat-abi=soft -mlittle-endian
   TARGET_EXTRA_CFLAGS    = -fdata-sections -ffunction-sections
   TARGET_EXTRA_LDFLAGS   = -Wl,--gc-sections
index 75f721ca43a0936e4f17d9ef0df0559ef6be310d..a17f8bc0ff9c60b9bb0e36deb80f5fb2f67294f6 100755 (executable)
@@ -7,11 +7,6 @@ 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