mirror of
https://github.com/matrix-construct/construct
synced 2024-12-27 07:54:05 +01:00
Makefile: ld.gold arguments package.
This commit is contained in:
parent
7461de8b3d
commit
f41c50af5b
3 changed files with 16 additions and 4 deletions
|
@ -14,11 +14,19 @@ AM_CPPFLAGS = \
|
|||
AM_LDFLAGS = \
|
||||
-dlopen self \
|
||||
-Wl,-fuse-ld=gold \
|
||||
-Wl,--no-gnu-unique \
|
||||
-Wl,--warn-execstack \
|
||||
-Wl,--warn-common \
|
||||
-Wl,--detect-odr-violations \
|
||||
-Wl,--no-allow-shlib-undefined \
|
||||
-Wl,--no-gnu-unique \
|
||||
-Wl,--no-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,combreloc \
|
||||
-Wl,-z -Wl,now \
|
||||
-L$(top_srcdir)/ircd \
|
||||
-L$(top_srcdir)/modules \
|
||||
|
|
|
@ -29,15 +29,18 @@ endif
|
|||
AM_LDFLAGS = \
|
||||
-version-info 3:1:0 \
|
||||
-Wl,-fuse-ld=gold \
|
||||
-Wl,--no-allow-shlib-undefined \
|
||||
-Wl,--detect-odr-violations \
|
||||
-Wl,--export-dynamic \
|
||||
-Wl,--no-undefined \
|
||||
-Wl,--no-gnu-unique \
|
||||
-Wl,--gc-sections \
|
||||
-Wl,--dynamic-list-data \
|
||||
-Wl,--icf=all \
|
||||
-Wl,--rosegment \
|
||||
-Wl,-z -Wl,initfirst \
|
||||
-Wl,-z -Wl,nodelete \
|
||||
-Wl,-z -Wl,nodlopen \
|
||||
-Wl,-z -Wl,now \
|
||||
$(PLATFORM_LDFLAGS) \
|
||||
-Wl,--no-undefined \
|
||||
###
|
||||
|
||||
libircd_LTLIBRARIES = libircd.la
|
||||
|
|
|
@ -30,6 +30,7 @@ AM_LDFLAGS += \
|
|||
-Wl,--no-allow-shlib-undefined \
|
||||
-Wl,--gc-sections \
|
||||
-Wl,--icf=all \
|
||||
-Wl,--rosegment \
|
||||
$(PLATFORM_LDFLAGS) \
|
||||
# -Wl,--no-undefined \
|
||||
# -export-symbols-regex IRCD_MODULE* \
|
||||
|
|
Loading…
Reference in a new issue