mirror of
https://abf.rosa.ru/djam/glibc.git
synced 2025-02-23 15:02:47 +00:00
22 lines
712 B
Diff
22 lines
712 B
Diff
diff -up glibc-2.36/Makeconfig.35~ glibc-2.36/Makeconfig
|
|
--- glibc-2.36/Makeconfig.35~ 2022-08-02 13:08:59.219749575 +0200
|
|
+++ glibc-2.36/Makeconfig 2022-08-02 13:11:51.923013290 +0200
|
|
@@ -109,7 +109,6 @@ endif
|
|
#### Do NOT edit this file.
|
|
####
|
|
|
|
-
|
|
# Common prefix for machine-independent installation directories.
|
|
ifeq ($(origin prefix),undefined) # ifndef would override explicit empty value.
|
|
prefix = /usr/local
|
|
@@ -358,6 +357,10 @@ else
|
|
real-static-start-installed-name = $(static-start-installed-name)
|
|
endif
|
|
|
|
+# glibc doesn't like gold and lld
|
|
+LDFLAGS.so += -fuse-ld=bfd
|
|
+LDFLAGS-rtld += -fuse-ld=bfd
|
|
+
|
|
relro-LDFLAGS = -Wl,-z,relro
|
|
LDFLAGS.so += $(relro-LDFLAGS)
|
|
LDFLAGS-rtld += $(relro-LDFLAGS)
|