Skip to content

Commit

Permalink
XANMOD: x86/build: Remove floating-point optimization flags
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 10, 2023
1 parent 09e0415 commit 48f8ad2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/x86/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ export BITS

# More compiler optimizations
ifdef CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE
KBUILD_CFLAGS += -O3 -fexcess-precision=fast -freciprocal-math \
$(call cc-option,-fcx-limited-range)
KBUILD_CFLAGS += -O3
KBUILD_RUSTFLAGS += -Copt-level=3
endif

Expand Down

0 comments on commit 48f8ad2

Please sign in to comment.