X-Git-Url: http://git.monstr.eu/?a=blobdiff_plain;f=scripts%2FMakefile.ubsan;h=9716dab06bc7a9f6012555f8b2d4e8e29e472b6d;hb=1347385fe18753b3eb8ee76fdaebea392b88b323;hp=4e3fff0745e81d44a0f0c825c27e9670eb7898c6;hpb=270315b8235e3d10c2e360cff56c2f9e0915a252;p=linux-2.6-microblaze.git diff --git a/scripts/Makefile.ubsan b/scripts/Makefile.ubsan index 4e3fff0745e8..9716dab06bc7 100644 --- a/scripts/Makefile.ubsan +++ b/scripts/Makefile.ubsan @@ -1,4 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 + +export CFLAGS_UBSAN := + ifdef CONFIG_UBSAN_ALIGNMENT CFLAGS_UBSAN += $(call cc-option, -fsanitize=alignment) endif