pkg/debian: Disable CONFIG_UBSAN in kernel config

Recent Ubuntu mainline versions have enabled UBSAN. UBSAN has a runtime
cost and should only be enabled for debugging and testing.

Furthermore, UBSAN actively causes problems on the Surface Pro 4 and
Surface Book 1, preventing them from waking from suspend in some
instances. Disabling UBSAN should work around issue #585.
This commit is contained in:
Maximilian Luz 2021-10-09 13:16:24 +02:00
parent 0d1b0e0057
commit 1f9fdf4427
No known key found for this signature in database
GPG key ID: 70EC0937F6C26F02

View file

@ -12,6 +12,7 @@
# CONFIG_STM_DUMMY is not set
# CONFIG_TEST_BPF is not set
# CONFIG_DEBUG_MISC is not set
# CONFIG_UBSAN is not set
##
## Don't build atomisp