mirror of
https://github.com/matrix-construct/construct
synced 2024-12-02 03:32:52 +01:00
Allow STB_GNU_UNIQUE for RTLD_DEEPBIND.
modules: Remove cruft; tweak Makefile.
This commit is contained in:
parent
17cbd14d91
commit
ed11153d27
3 changed files with 4 additions and 18 deletions
|
@ -27,17 +27,13 @@ AM_LDFLAGS = \
|
||||||
-Wl,--warn-common \
|
-Wl,--warn-common \
|
||||||
-Wl,--detect-odr-violations \
|
-Wl,--detect-odr-violations \
|
||||||
-Wl,--unresolved-symbols=report-all \
|
-Wl,--unresolved-symbols=report-all \
|
||||||
-Wl,--no-allow-shlib-undefined \
|
-Wl,--allow-shlib-undefined \
|
||||||
-Wl,--no-gnu-unique \
|
|
||||||
-Wl,--no-undefined \
|
|
||||||
-Wl,--gc-sections \
|
-Wl,--gc-sections \
|
||||||
-Wl,--dynamic-list-data \
|
-Wl,--dynamic-list-data \
|
||||||
-Wl,--dynamic-list-cpp-new\
|
-Wl,--dynamic-list-cpp-new\
|
||||||
-Wl,--dynamic-list-cpp-typeinfo \
|
-Wl,--dynamic-list-cpp-typeinfo \
|
||||||
-Wl,--icf=all \
|
-Wl,--icf=all \
|
||||||
-Wl,--rosegment \
|
-Wl,--rosegment \
|
||||||
-Wl,-z -Wl,now \
|
|
||||||
-Wl,-z -Wl,combreloc \
|
|
||||||
-Wl,-z -Wl,noexecstack \
|
-Wl,-z -Wl,noexecstack \
|
||||||
-L$(top_srcdir)/ircd \
|
-L$(top_srcdir)/ircd \
|
||||||
-L$(top_srcdir)/modules \
|
-L$(top_srcdir)/modules \
|
||||||
|
|
|
@ -40,8 +40,7 @@ AM_LDFLAGS = \
|
||||||
-Wl,--unresolved-symbols=report-all \
|
-Wl,--unresolved-symbols=report-all \
|
||||||
-Wl,--no-undefined-version \
|
-Wl,--no-undefined-version \
|
||||||
-Wl,--weak-unresolved-symbols \
|
-Wl,--weak-unresolved-symbols \
|
||||||
-Wl,--no-gnu-unique \
|
-Wl,--no-gc-sections \
|
||||||
-Wl,--gc-sections \
|
|
||||||
-Wl,--icf=all \
|
-Wl,--icf=all \
|
||||||
-Wl,--rosegment \
|
-Wl,--rosegment \
|
||||||
-Wl,--whole-archive \
|
-Wl,--whole-archive \
|
||||||
|
@ -50,8 +49,6 @@ AM_LDFLAGS = \
|
||||||
-Wl,-z -Wl,nodlopen \
|
-Wl,-z -Wl,nodlopen \
|
||||||
-Wl,-z -Wl,noexecstack \
|
-Wl,-z -Wl,noexecstack \
|
||||||
-Wl,-z -Wl,combreloc \
|
-Wl,-z -Wl,combreloc \
|
||||||
-Wl,-z -Wl,nocopyreloc \
|
|
||||||
-Wl,-z -Wl,keep-text-section-prefix \
|
|
||||||
-Wl,-z -Wl,text-unlikely-segment \
|
-Wl,-z -Wl,text-unlikely-segment \
|
||||||
$(PLATFORM_LDFLAGS) \
|
$(PLATFORM_LDFLAGS) \
|
||||||
@EXTRA_LDFLAGS@ \
|
@EXTRA_LDFLAGS@ \
|
||||||
|
|
|
@ -26,29 +26,22 @@ AM_CPPFLAGS = \
|
||||||
###
|
###
|
||||||
|
|
||||||
AM_LDFLAGS = \
|
AM_LDFLAGS = \
|
||||||
-avoid-version \
|
|
||||||
-module \
|
-module \
|
||||||
|
-avoid-version \
|
||||||
-Wl,-fuse-ld=gold \
|
-Wl,-fuse-ld=gold \
|
||||||
-Wl,--shared \
|
|
||||||
-Wl,--warn-common \
|
-Wl,--warn-common \
|
||||||
-Wl,--warn-execstack \
|
-Wl,--warn-execstack \
|
||||||
-Wl,--detect-odr-violations \
|
-Wl,--detect-odr-violations \
|
||||||
-Wl,--no-gnu-unique \
|
-Wl,--allow-shlib-undefined \
|
||||||
-Wl,--no-allow-shlib-undefined \
|
|
||||||
-Wl,--gc-sections \
|
-Wl,--gc-sections \
|
||||||
-Wl,--icf=all \
|
-Wl,--icf=all \
|
||||||
-Wl,-z -Wl,lazy \
|
-Wl,-z -Wl,lazy \
|
||||||
-Wl,-z -Wl,noexecstack \
|
-Wl,-z -Wl,noexecstack \
|
||||||
-Wl,-z -Wl,combreloc \
|
-Wl,-z -Wl,combreloc \
|
||||||
-Wl,-z -Wl,nocopyreloc \
|
|
||||||
-Wl,-z -Wl,text-unlikely-segment \
|
-Wl,-z -Wl,text-unlikely-segment \
|
||||||
-Wl,-z -Wl,keep-text-section-prefix \
|
|
||||||
-L$(top_srcdir)/ircd \
|
-L$(top_srcdir)/ircd \
|
||||||
$(PLATFORM_LDFLAGS) \
|
$(PLATFORM_LDFLAGS) \
|
||||||
@EXTRA_LDFLAGS@ \
|
@EXTRA_LDFLAGS@ \
|
||||||
# -Wl,--no-undefined \
|
|
||||||
# -export-symbols-regex IRCD_MODULE* \
|
|
||||||
# -export-symbols-regex * \
|
|
||||||
###
|
###
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
Loading…
Reference in a new issue