Skip to content
This repository has been archived by the owner on Jul 3, 2019. It is now read-only.

Commit

Permalink
Makefile: Remove SCRIPT_OPT_FLAGS
Browse files Browse the repository at this point in the history
The build system already had KCFLAGS that we can use.

Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
  • Loading branch information
nathanchance committed Jun 4, 2018
1 parent 0b64182 commit 2a3232c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -653,7 +653,7 @@ ifdef CONFIG_CC_OPTIMIZE_FOR_SIZE
KBUILD_CFLAGS += $(call cc-option,-Oz,-Os)
else
ifeq ($(cc-name),clang)
KBUILD_CFLAGS += -O3 $(SCRIPT_OPT_FLAGS)
KBUILD_CFLAGS += -O3
else
KBUILD_CFLAGS += -O2
endif
Expand Down

0 comments on commit 2a3232c

Please sign in to comment.