about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2022-07-12 11:14:32 -0700
committerFangrui Song <maskray@google.com>2022-07-12 11:14:32 -0700
commitc5bec9d491c5d066dd238ccafcdec78cd4592e8e (patch)
treea7cf8e380dff8505afc8bbd7d6ba0539a085c3cb
parentec9013727d75da0e61f4527780a7227b5b2e81ba (diff)
downloadglibc-c5bec9d491c5d066dd238ccafcdec78cd4592e8e.tar.gz
glibc-c5bec9d491c5d066dd238ccafcdec78cd4592e8e.tar.xz
glibc-c5bec9d491c5d066dd238ccafcdec78cd4592e8e.zip
i386: Remove -Wa,-mtune=i686
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.
-rw-r--r--sysdeps/i386/i686/Makefile10
1 files changed, 0 insertions, 10 deletions
diff --git a/sysdeps/i386/i686/Makefile b/sysdeps/i386/i686/Makefile
index 311042787b..6b5fc8a59c 100644
--- a/sysdeps/i386/i686/Makefile
+++ b/sysdeps/i386/i686/Makefile
@@ -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