Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Commit

Permalink
power: supply: force disable frame pointers and optimize for size
Browse files Browse the repository at this point in the history
Holy fucking shit this is so retarded, it doesn't boot with frame pointers.

Signed-off-by: Yaroslav Furman <yaro330@gmail.com>
  • Loading branch information
YaroST12 authored and azrim committed Mar 7, 2021
1 parent 93cea9e commit 18a486a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions drivers/power/supply/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -87,3 +87,5 @@ obj-$(CONFIG_ARCH_QCOM) += ti/
obj-$(CONFIG_ARCH_QCOM) += maxim/
# obj-$(CONFIG_ARCH_QCOM) += sc8551_charger.o pd_policy_manager.o

subdir-ccflags-y += -Os
subdir-ccflags-y += -fomit-frame-pointer -foptimize-sibling-calls

0 comments on commit 18a486a

Please sign in to comment.