]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Hand merged ChangeLog and git cherry-pick of commit eb29449a9a601f535cab50068e02aee0a...
authorUlrich Drepper <drepper@redhat.com>
Sat, 9 May 2009 21:58:12 +0000 (21:58 +0000)
committerRyan Arnold <ryanarn@etna.rchland.ibm.com>
Wed, 29 Jul 2009 14:58:52 +0000 (09:58 -0500)
    2009-05-09  Ulrich Drepper  <drepper@redhat.com>

        * Makeconfig: Undo last change.  Add asflags-cpu to ASFLAGS in the
        same place we add ASFLAGS-config.

ChangeLog
Makeconfig

index 5f35971cae444839aaab9ddee438600ea7a58f84..d3ecef9b7f28ad3a533c22b655c79db1f998492c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-05-09  Ulrich Drepper  <drepper@redhat.com>
+
+       * Makeconfig: Undo last change.  Add asflags-cpu to ASFLAGS in the
+       same place we add ASFLAGS-config.
+
 2009-05-06  Ryan S. Arnold  <rsa@us.ibm.com>
 
        [BZ #10118]
index 6c0918a828767a5f3d709863f175620fa7ac6840..4f6fe5ceb36bdde8dcba84e4dd48e05e30be2bf3 100644 (file)
@@ -649,17 +649,6 @@ endif      # $(+cflags) == ""
 # Don't duplicate options if we inherited variables from the parent.
 +cflags        := $(sort $(+cflags))
 
-# These are the flags given to the compiler to tell it what sort of
-# optimization and/or debugging output to do for .S files.
-ifndef +asflags
-# If `ASFLAGS' was defined, use that.
-ifdef          ASFLAGS
-+asflags := $(ASFLAGS)
-endif          #ASFLAGS
-endif  # +asflags
-
-+asflags +=  $(asflags-cpu)
-
 # These are flags given to the C compiler to tell it to look for
 # include files (including ones given in angle brackets) in the parent
 # library source directory, in the include directory, and in the
@@ -691,8 +680,6 @@ override CXXFLAGS = $(c++-sysincludes) \
                    $(filter-out %frame-pointer,$(+cflags)) $(sysdep-CFLAGS) \
                    $(CFLAGS-$(suffix $@)) $(CFLAGS-$(<F)) $(CFLAGS-$(@F))
 
-override ASFLAGS = $(+asflags)
-
 # If everything is compiled with -fPIC (implicitly) we must tell this by
 # defining the PIC symbol.
 ifeq (yes,$(build-pic-default))
@@ -778,7 +765,7 @@ else
 ASFLAGS :=
 endif
 endif
-ASFLAGS += $(ASFLAGS-config)
+ASFLAGS += $(ASFLAGS-config) $(asflags-cpu)
 
 ifndef BUILD_CC
 BUILD_CC = $(CC)