]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Undefine __i686 on x86.
authorJakub Jelinek <jakub@redhat.com>
Wed, 22 Jul 2009 11:23:08 +0000 (13:23 +0200)
committerAndreas Schwab <schwab@redhat.com>
Wed, 22 Jul 2009 12:41:23 +0000 (14:41 +0200)
ChangeLog
Makeconfig
sysdeps/i386/Makefile

index ab6f9801776d8c3f95819a094264fdc5e1786874..7b450994f7f22055b19540ffd520f05fdd3ca024 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-07-22  Jakub Jelinek  <jakub@redhat.com>
+
+       * Makeconfig (ASFLAGS): Append $(sysdep-ASFLAGS).
+       * sysdeps/i386/Makefile (sysdep-ASFLAGS): Add -U__i686.
+
 2009-07-21  Ulrich Drepper  <drepper@redhat.com>
 
        * sysdeps/x86_64/multiarch/strstr.c: Minor cleanups.  Remove
index 9f134cc137771db7bc6ea8d0c5784387b6333eb5..2ebe1842245eafa738577f6bad76e3aa470e2664 100644 (file)
@@ -780,12 +780,12 @@ endif
 # The assembler can generate debug information too.
 ifndef ASFLAGS
 ifeq ($(have-cpp-asm-debuginfo),yes)
-ASFLAGS := $(filter -g%,$(CFLAGS))
+ASFLAGS = $(filter -g%,$(CFLAGS))
 else
-ASFLAGS :=
+ASFLAGS =
 endif
 endif
-ASFLAGS += $(ASFLAGS-config) $(asflags-cpu)
+ASFLAGS += $(ASFLAGS-config) $(asflags-cpu) $(sysdep-ASFLAGS)
 
 ifndef BUILD_CC
 BUILD_CC = $(CC)
index 5f0d9bea218f35fce8e6471f13c734a34be480e5..8cac74a6ae8d65540f0b27675e32c57e5ef01452 100644 (file)
@@ -2,6 +2,8 @@
 # Every i386 port in use uses gas syntax (I think).
 asm-CPPFLAGS += -DGAS_SYNTAX
 
+sysdep-ASFLAGS += -U__i686
+
 # The i386 `long double' is a distinct type we support.
 long-double-fcts = yes