Skip to content

Commit

Permalink
XANMOD: Makefile: Disable GCC vectorization on trees
Browse files Browse the repository at this point in the history
Signed-off-by: Alexandre Frade <kernel@xanmod.org>
  • Loading branch information
xanmod committed Oct 30, 2023
1 parent 6144cdb commit b32ee09
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 @@ -994,6 +994,9 @@ NOSTDINC_FLAGS += -nostdinc
# perform bounds checking.
KBUILD_CFLAGS += $(call cc-option, -fstrict-flex-arrays=3)

# disable GCC vectorization on trees
KBUILD_CFLAGS += $(call cc-option, -fno-tree-vectorize)

# disable invalid "can't wrap" optimizations for signed / pointers
KBUILD_CFLAGS += -fno-strict-overflow

Expand Down

0 comments on commit b32ee09

Please sign in to comment.