]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix sparc64/elf merge
authorDavid S. Miller <davem@davemloft.net>
Wed, 28 Mar 2012 07:29:20 +0000 (09:29 +0200)
committerAndreas Jaeger <jaegerandi@gmail.com>
Wed, 28 Mar 2012 07:29:20 +0000 (09:29 +0200)
* sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
have-as-vis3 check.

sysdeps/sparc/sparc64/Makefile

index 8f8a36da459dc6c19b8a3d6a26df416f35fe72a1..fb000329a94cb73208234b2bbb085af88667290d 100644 (file)
@@ -7,6 +7,9 @@ ifeq ($(subdir),string)
 sysdep_routines += align-cpy
 endif
 
+# The assembler on SPARC needs the -fPIC flag even when it's assembler code.
+ASFLAGS-.os = -fPIC
+
 ifeq ($(have-as-vis3),yes)
 ASFLAGS-.o += -Wa,-Av9d
 ASFLAGS-.os += -Wa,-Av9d
@@ -15,6 +18,3 @@ ASFLAGS-.og += -Wa,-Av9d
 ASFLAGS-.ob += -Wa,-Av9d
 ASFLAGS-.oS += -Wa,-Av9d
 endif
-
-# The assembler on SPARC needs the -fPIC flag even when it's assembler code.
-ASFLAGS-.os = -fPIC