mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-31 14:01:18 +08:00
Enable relaxed relocations when building certain object files for x86_64.
This commit is contained in:
parent
0337af1396
commit
738baca865
@ -6,6 +6,9 @@ ifeq ($(with-clang),yes)
|
||||
# allowed. (-mavx512 is the preferred option but does not work in 5.0)
|
||||
ASFLAGS-.o += -march=knl
|
||||
ASFLAGS-.os += -march=knl
|
||||
# We want clang to generate relaxed relocations so that they can work with
|
||||
# static-pie as well.
|
||||
ASFLAGS-.o += -Wa,-mrelax-relocations=yes
|
||||
endif
|
||||
|
||||
ifeq ($(subdir),csu)
|
||||
|
Loading…
x
Reference in New Issue
Block a user