diff options
author | Jiri Kosina <jkosina@suse.cz> | 2019-05-06 15:55:18 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2019-05-06 15:55:18 +0200 |
commit | 1efbd99ed41db9ddc3ae7e189934c62e9dbe55c4 (patch) | |
tree | 106dd68e510b226394b4c1727cb6002b2a0d3c38 /Makefile | |
parent | 802c2471607919f57d7d1f83f0fddd925309e97c (diff) | |
parent | f68d67cf2f83dc82675969724b59ca7c6da43fa9 (diff) | |
download | linux-1efbd99ed41db9ddc3ae7e189934c62e9dbe55c4.tar.bz2 |
Merge branches 'for-5.1/upstream-fixes' and 'for-5.2/core' into for-linus
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -796,6 +796,10 @@ KBUILD_CFLAGS_KERNEL += -ffunction-sections -fdata-sections LDFLAGS_vmlinux += --gc-sections endif +ifdef CONFIG_LIVEPATCH +KBUILD_CFLAGS += $(call cc-option, -flive-patching=inline-clone) +endif + # arch Makefile may override CC so keep this after arch Makefile is included NOSTDINC_FLAGS += -nostdinc -isystem $(shell $(CC) -print-file-name=include) |