diff options
author | Justin M. Forbes <jforbes@fedoraproject.org> | 2019-05-08 12:24:46 -0500 |
---|---|---|
committer | Justin M. Forbes <jforbes@fedoraproject.org> | 2019-05-08 12:24:46 -0500 |
commit | a9602bb6e5ef5cf39d7873d7cf995bc2e239fc9c (patch) | |
tree | 53a7e7bf6ff2523000c97b9f2b90adab1686a573 /Kbuild-Add-an-option-to-enable-GCC-VTA.patch | |
parent | 2b2a5f0a2eea3e62eb9b8f4cbd428db15607bd18 (diff) | |
download | kernel-a9602bb6e5ef5cf39d7873d7cf995bc2e239fc9c.tar.gz kernel-a9602bb6e5ef5cf39d7873d7cf995bc2e239fc9c.tar.xz kernel-a9602bb6e5ef5cf39d7873d7cf995bc2e239fc9c.zip |
Linux v5.1-5445-g80f232121b69
Diffstat (limited to 'Kbuild-Add-an-option-to-enable-GCC-VTA.patch')
-rw-r--r-- | Kbuild-Add-an-option-to-enable-GCC-VTA.patch | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Kbuild-Add-an-option-to-enable-GCC-VTA.patch b/Kbuild-Add-an-option-to-enable-GCC-VTA.patch index 608d789dd..6bbb0efdf 100644 --- a/Kbuild-Add-an-option-to-enable-GCC-VTA.patch +++ b/Kbuild-Add-an-option-to-enable-GCC-VTA.patch @@ -49,11 +49,11 @@ index 9ef547fc7ffe..5777d902f8f3 100644 --- a/Makefile +++ b/Makefile @@ -735,7 +735,11 @@ KBUILD_CFLAGS += -fomit-frame-pointer - endif + KBUILD_CFLAGS += -ftrivial-auto-var-init=pattern endif +ifdef CONFIG_DEBUG_INFO_VTA -+DEBUG_CFLAGS += $(call cc-option, -fvar-tracking-assignments) ++DEBUG_CFLAGS += $(call cc-option, -fvar-tracking-assignments) +else DEBUG_CFLAGS := $(call cc-option, -fno-var-tracking-assignments) +endif @@ -87,8 +87,8 @@ index 0d9e81779e37..424206212931 100644 + environment to automatically compile everything both ways, + generating an error if anything differs. - config GDB_SCRIPTS - bool "Provide GDB scripts for kernel debugging" + config DEBUG_INFO_BTF + bool "Generate BTF typeinfo" -- 2.20.1 |