<p>Arthur Heymans has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/21202">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">Fix build with CLANG, avoid GCC only CFLAGS<br><br>Commit 7c8d331fbb "Fine-tune compiler flags" added CFLAGS that are not<br>existing on CLANG hence breaking building coreboot with clang.<br><br>Change-Id: Ie0250e285b0c5a9f8ee2eb99401aeca875d2789a<br>Signed-off-by: Arthur Heymans <arthur@aheymans.xyz><br>---<br>M Makefile.inc<br>1 file changed, 2 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://review.coreboot.org:29418/coreboot refs/changes/02/21202/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/Makefile.inc b/Makefile.inc<br>index 679e0ac..ca9711d 100644<br>--- a/Makefile.inc<br>+++ b/Makefile.inc<br>@@ -363,7 +363,9 @@<br> CFLAGS_common += -Wstrict-aliasing -Wshadow -Wdate-time<br> CFLAGS_common += -fno-common -ffreestanding -fno-builtin -fomit-frame-pointer<br> CFLAGS_common += -ffunction-sections -fdata-sections -fno-pie<br>+ifeq ($(CONFIG_COMPILER_GCC),y)<br> CFLAGS_common += -fno-delete-null-pointer-checks -fconserve-stack<br>+endif<br> <br> ADAFLAGS_common += -gnatg -gnatp<br> ADAFLAGS_common += -Wuninitialized -Wall -Werror<br></pre><p>To view, visit <a href="https://review.coreboot.org/21202">change 21202</a>. To unsubscribe, visit <a href="https://review.coreboot.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://review.coreboot.org/21202"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: coreboot </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: Ie0250e285b0c5a9f8ee2eb99401aeca875d2789a </div>
<div style="display:none"> Gerrit-Change-Number: 21202 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Arthur Heymans <arthur@aheymans.xyz> </div>