]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
i386: Remove -Wa,-mtune=i686
authorFangrui Song <maskray@google.com>
Tue, 12 Jul 2022 18:14:32 +0000 (11:14 -0700)
committerFangrui Song <maskray@google.com>
Tue, 12 Jul 2022 18:14:32 +0000 (11:14 -0700)
gas -mtune= may change NOP generating patterns but -mtune=i686 has no
difference from the default by inspecting .o and .os files.

Note: Clang doesn't support -Wa,-mtune=i686.

sysdeps/i386/i686/Makefile

index 311042787b45dbbb8db5b5c76dfb315f29e1af51..6b5fc8a59c4187942f692b2e1c7affdc4e4775fe 100644 (file)
@@ -1,12 +1,2 @@
 # So that we can test __m128's alignment
 stack-align-test-flags += -msse
-
-CFLAGS-.o += -Wa,-mtune=i686
-CFLAGS-.os += -Wa,-mtune=i686
-CFLAGS-.op += -Wa,-mtune=i686
-CFLAGS-.oS += -Wa,-mtune=i686
-
-ASFLAGS-.o += -Wa,-mtune=i686
-ASFLAGS-.os += -Wa,-mtune=i686
-ASFLAGS-.op += -Wa,-mtune=i686
-ASFLAGS-.oS += -Wa,-mtune=i686