0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-15 14:31:11 +01:00

Makefile: ld.gold arguments package.

This commit is contained in:
Jason Volk 2018-05-31 13:00:58 -07:00
parent 7461de8b3d
commit f41c50af5b
3 changed files with 16 additions and 4 deletions

View file

@ -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 \

View file

@ -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

View file

@ -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* \