Skip to content
This repository has been archived by the owner on Sep 15, 2021. It is now read-only.

Commit

Permalink
Makefile: Use -fno-tree-vectorize on x86-64
Browse files Browse the repository at this point in the history
This patch adds '-fno-tree-vectorize' to x86-64 GCC options to fix test
breakage caused by commit 034ac4b ("Makefile: Use GCC '-O3' optimization
level").

Suggested-by: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
  • Loading branch information
penberg committed Jun 13, 2011
1 parent 034ac4b commit 9429bdf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,9 @@ WARNINGS += \
DEFAULT_CFLAGS += $(WARNINGS)

OPTIMIZATIONS += -O3 -fno-delete-null-pointer-checks
ifeq ($(uname_M),x86_64)
OPTIMIZATIONS += -fno-tree-vectorize
endif
DEFAULT_CFLAGS += $(OPTIMIZATIONS)

INCLUDES = -Iinclude -Iarch/$(ARCH)/include -Isys/$(SYS)-$(ARCH)/include -Ijit -Ijit/glib -include $(ARCH_CONFIG) -Iboehmgc/include
Expand Down

0 comments on commit 9429bdf

Please sign in to comment.