projects
/
oweals
/
u-boot_mod.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e7a2ab
)
Use -fno-delete-null-pointer-checks for optimized build
author
Piotr Dymacz
<pepe2k@gmail.com>
Sun, 23 Apr 2017 16:00:35 +0000
(18:00 +0200)
committer
Piotr Dymacz
<pepe2k@gmail.com>
Sun, 23 Apr 2017 16:00:35 +0000
(18:00 +0200)
This fixes alternative memory test (mtest with CFG_ALT_MEMTEST).
u-boot/config.mk
patch
|
blob
|
history
diff --git
a/u-boot/config.mk
b/u-boot/config.mk
index 2199e1a1b56906ada84f26718892346d511f4356..4b9a4773ca9d3bf84e9586a22d590875bc911be5 100644
(file)
--- 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 :=