0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 18:22:50 +01:00

Allow STB_GNU_UNIQUE for RTLD_DEEPBIND.

modules: Remove cruft; tweak Makefile.
This commit is contained in:
Jason Volk 2019-05-14 17:57:36 -07:00
parent 17cbd14d91
commit ed11153d27
3 changed files with 4 additions and 18 deletions

View file

@ -27,17 +27,13 @@ AM_LDFLAGS = \
-Wl,--warn-common \
-Wl,--detect-odr-violations \
-Wl,--unresolved-symbols=report-all \
-Wl,--no-allow-shlib-undefined \
-Wl,--no-gnu-unique \
-Wl,--no-undefined \
-Wl,--allow-shlib-undefined \
-Wl,--gc-sections \
-Wl,--dynamic-list-data \
-Wl,--dynamic-list-cpp-new\
-Wl,--dynamic-list-cpp-typeinfo \
-Wl,--icf=all \
-Wl,--rosegment \
-Wl,-z -Wl,now \
-Wl,-z -Wl,combreloc \
-Wl,-z -Wl,noexecstack \
-L$(top_srcdir)/ircd \
-L$(top_srcdir)/modules \

View file

@ -40,8 +40,7 @@ AM_LDFLAGS = \
-Wl,--unresolved-symbols=report-all \
-Wl,--no-undefined-version \
-Wl,--weak-unresolved-symbols \
-Wl,--no-gnu-unique \
-Wl,--gc-sections \
-Wl,--no-gc-sections \
-Wl,--icf=all \
-Wl,--rosegment \
-Wl,--whole-archive \
@ -50,8 +49,6 @@ AM_LDFLAGS = \
-Wl,-z -Wl,nodlopen \
-Wl,-z -Wl,noexecstack \
-Wl,-z -Wl,combreloc \
-Wl,-z -Wl,nocopyreloc \
-Wl,-z -Wl,keep-text-section-prefix \
-Wl,-z -Wl,text-unlikely-segment \
$(PLATFORM_LDFLAGS) \
@EXTRA_LDFLAGS@ \

View file

@ -26,29 +26,22 @@ AM_CPPFLAGS = \
###
AM_LDFLAGS = \
-avoid-version \
-module \
-avoid-version \
-Wl,-fuse-ld=gold \
-Wl,--shared \
-Wl,--warn-common \
-Wl,--warn-execstack \
-Wl,--detect-odr-violations \
-Wl,--no-gnu-unique \
-Wl,--no-allow-shlib-undefined \
-Wl,--allow-shlib-undefined \
-Wl,--gc-sections \
-Wl,--icf=all \
-Wl,-z -Wl,lazy \
-Wl,-z -Wl,noexecstack \
-Wl,-z -Wl,combreloc \
-Wl,-z -Wl,nocopyreloc \
-Wl,-z -Wl,text-unlikely-segment \
-Wl,-z -Wl,keep-text-section-prefix \
-L$(top_srcdir)/ircd \
$(PLATFORM_LDFLAGS) \
@EXTRA_LDFLAGS@ \
# -Wl,--no-undefined \
# -export-symbols-regex IRCD_MODULE* \
# -export-symbols-regex * \
###
###############################################################################