Skip to content

Commit

Permalink
Undefine __i686 on x86.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Jelinek authored and Andreas Schwab committed Jul 22, 2009
1 parent 6432246 commit 3aba072
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions Makeconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 2 additions & 0 deletions sysdeps/i386/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 3aba072

Please sign in to comment.