This repository was archived by the owner on Oct 30, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -363,9 +363,9 @@ HOST_LFS_LIBS := $(shell getconf LFS_LIBS 2>/dev/null)
363
363
364
364
HOSTCC = gcc
365
365
HOSTCXX = g++
366
- HOSTCFLAGS := -Wall -Wmissing-prototypes -Wstrict-prototypes -O2 \
366
+ HOSTCFLAGS := -Wall -Wmissing-prototypes -Wstrict-prototypes -O3 \
367
367
-fomit-frame-pointer -std=gnu89 $(HOST_LFS_CFLAGS )
368
- HOSTCXXFLAGS := -O2 $(HOST_LFS_CFLAGS )
368
+ HOSTCXXFLAGS := -O3 $(HOST_LFS_CFLAGS )
369
369
HOSTLDFLAGS := $(HOST_LFS_LDFLAGS )
370
370
HOST_LOADLIBES := $(HOST_LFS_LIBS )
371
371
@@ -657,12 +657,14 @@ ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
657
657
KBUILD_CFLAGS += -Os $(call cc-disable-warning,maybe-uninitialized,)
658
658
else
659
659
ifdef CONFIG_PROFILE_ALL_BRANCHES
660
- KBUILD_CFLAGS += -O2 $(call cc-disable-warning,maybe-uninitialized,)
660
+ KBUILD_CFLAGS += -O3 $(call cc-disable-warning,maybe-uninitialized,)
661
661
else
662
- KBUILD_CFLAGS += -O2
662
+ KBUILD_CFLAGS += -O3
663
663
endif
664
664
endif
665
665
666
+ KBUILD_CFLAGS += -mtune=cortex-a9
667
+
666
668
KBUILD_CFLAGS += $(call cc-ifversion, -lt, 0409, \
667
669
$(call cc-disable-warning,maybe-uninitialized,) )
668
670
You can’t perform that action at this time.
0 commit comments