<p>Damien Zammit has uploaded this change for <strong>review</strong>.</p><p><a href="https://review.coreboot.org/21357">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">armv7/Makefile.inc: Make cflags compiler agnostic<br><br>clang does not know about -Wa,-mthumb so use the right flags<br><br>Change-Id: I00b7ab5ad25349382bef3cc5001f3a3297f11ca0<br>Signed-off-by: Damien Zammit <damien@zamaudio.com><br>---<br>M src/arch/arm/armv7/Makefile.inc<br>1 file changed, 4 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/57/21357/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">diff --git a/src/arch/arm/armv7/Makefile.inc b/src/arch/arm/armv7/Makefile.inc<br>index fe0b446..b25a4e9 100644<br>--- a/src/arch/arm/armv7/Makefile.inc<br>+++ b/src/arch/arm/armv7/Makefile.inc<br>@@ -20,7 +20,11 @@<br> armv7-m_flags = -march=armv7-m $(armv7_flags) -D__COREBOOT_ARM_V7_M__<br> armv7-r_flags = -march=armv7-r $(armv7_flags) -D__COREBOOT_ARM_V7_R__<br> <br>+ifeq ($(CONFIG_COMPILER_GCC),y)<br> armv7_asm_flags = -Wa,-mthumb -Wa,-mimplicit-it=always -Wa,-mno-warn-deprecated<br>+else<br>+armv7_asm_flags = -mthumb -mimplicit-it=always<br>+endif<br> armv7-r_asm_flags = $(armv7-r_flags) $(armv7_asm_flags)<br> <br> ###############################################################################<br></pre><p>To view, visit <a href="https://review.coreboot.org/21357">change 21357</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/21357"/><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: I00b7ab5ad25349382bef3cc5001f3a3297f11ca0 </div>
<div style="display:none"> Gerrit-Change-Number: 21357 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Damien Zammit <damien@zamaudio.com> </div>