Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9129d8fd authored by Serhij Kyryljan's avatar Serhij Kyryljan Committed by Razziell
Browse files

Revert "Makefile: Fix device not booting with GCC 7.x and above"

This reverts commit cbe1d126a823782107056583b29e9ba99edce1b2.
parent 07042979
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -634,9 +634,6 @@ KBUILD_CFLAGS += $(call cc-disable-warning,maybe-uninitialized,)
KBUILD_CFLAGS	+= $(call cc-disable-warning,frame-address,)
KBUILD_CFLAGS	+= $(call cc-disable-warning, format-truncation)

# Needed to unbreak GCC 7.x and above
KBUILD_CFLAGS   += $(call cc-option,-fno-store-merging,)

ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
KBUILD_CFLAGS	+= $(call cc-option,-Oz,-Os)
KBUILD_CFLAGS	+= $(call cc-disable-warning,maybe-uninitialized,)