public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc/google/grte/v5-2.27/master] Do not pass unhandled flag to clang
@ 2021-08-28  0:37 Fangrui Song
  0 siblings, 0 replies; only message in thread
From: Fangrui Song @ 2021-08-28  0:37 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=34cb52c02f58c77042edd0129a0953cd9e41494d

commit 34cb52c02f58c77042edd0129a0953cd9e41494d
Author: Stan Shebs <stanshebs@google.com>
Date:   Tue Jan 23 12:53:28 2018 -0800

    Do not pass unhandled flag to clang

Diff:
---
 sysdeps/x86_64/Makefile | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/sysdeps/x86_64/Makefile b/sysdeps/x86_64/Makefile
index 9f1562f1b2..8148e12874 100644
--- a/sysdeps/x86_64/Makefile
+++ b/sysdeps/x86_64/Makefile
@@ -127,7 +127,10 @@ $(objpfx)tst-sse: $(objpfx)tst-ssemod.so
 $(objpfx)tst-avx: $(objpfx)tst-avx-aux.o $(objpfx)tst-avxmod.so
 $(objpfx)tst-avx512: $(objpfx)tst-avx512-aux.o $(objpfx)tst-avx512mod.so
 
-AVX-CFLAGS=-mavx -mno-vzeroupper
+AVX-CFLAGS = -mavx
+ifneq ($(with-clang),yes)
+AVX-CFLAGS += -mno-vzeroupper
+endif
 CFLAGS-tst-audit4-aux.c += $(AVX-CFLAGS)
 CFLAGS-tst-auditmod4a.c += $(AVX-CFLAGS)
 CFLAGS-tst-auditmod4b.c += $(AVX-CFLAGS)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-08-28  0:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-28  0:37 [glibc/google/grte/v5-2.27/master] Do not pass unhandled flag to clang Fangrui Song

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).