From: Piotr Dymacz Date: Sun, 23 Apr 2017 16:00:35 +0000 (+0200) Subject: Use -fno-delete-null-pointer-checks for optimized build X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=82cf134f32a81845d0e8965422d483ff4ae26e30;p=oweals%2Fu-boot_mod.git Use -fno-delete-null-pointer-checks for optimized build This fixes alternative memory test (mtest with CFG_ALT_MEMTEST). --- diff --git a/u-boot/config.mk b/u-boot/config.mk index 2199e1a..4b9a477 100644 --- a/u-boot/config.mk +++ b/u-boot/config.mk @@ -118,8 +118,8 @@ ifdef COMPRESSED_UBOOT endif ifeq ($(BUILD_OPTIMIZED),y) - CFLAGS += -Os -fno-reorder-functions - CPPFLAGS += -Os -fno-reorder-functions + CFLAGS += -Os -fno-reorder-functions -fno-delete-null-pointer-checks + CPPFLAGS += -Os -fno-reorder-functions -fno-delete-null-pointer-checks endif AFLAGS_DEBUG :=