mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Make sparc's -fPIC addition to ASFLAGS-.os more robust.
* sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here.... * sysdeps/sparc/sparc32/Makefile: rather than here... * sysdeps/sparc/sparc64/Makefile: and here.
This commit is contained in:
@@ -15,3 +15,6 @@ ifeq ($(subdir),csu)
|
||||
CPPFLAGS-crti.S += -fPIC
|
||||
CPPFLAGS-crtn.S += -fPIC
|
||||
endif
|
||||
|
||||
# The assembler on SPARC needs the -fPIC flag even when it's assembler code.
|
||||
ASFLAGS-.os += -fPIC
|
||||
|
||||
@@ -47,6 +47,3 @@ $(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S): $(sysdep_dir)/sparc/sparc32/divrem.
|
||||
mv -f $@-tmp $@
|
||||
|
||||
sysdep-realclean := $(sysdep-realclean) $(divrem:%=sysdeps/sparc/sparc32/%.S)
|
||||
|
||||
# The assembler on SPARC needs the -fPIC flag even when it's assembler code.
|
||||
ASFLAGS-.os = -fPIC
|
||||
|
||||
@@ -7,9 +7,6 @@ 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
|
||||
|
||||
Reference in New Issue
Block a user