mirror of
https://github.com/matrix-construct/construct
synced 2024-05-19 19:33:45 +02:00
modules: Add ld.gold flags section; disable unique symbols.
This commit is contained in:
parent
8a20079122
commit
4cf3476e7b
|
@ -47,6 +47,7 @@ endif
|
|||
endif
|
||||
|
||||
if GOLD
|
||||
AM_LDFLAGS += -Wl,--no-gnu-unique
|
||||
AM_LDFLAGS += -Wl,--no-text-reorder
|
||||
AM_LDFLAGS += -Wl,--sort-common=descending
|
||||
endif
|
||||
|
|
|
@ -21,6 +21,11 @@ AM_LDFLAGS += -L$(top_srcdir)/ircd
|
|||
AM_LDFLAGS += -L$(top_srcdir)/matrix
|
||||
AM_LDFLAGS += $(PLATFORM_LDFLAGS)
|
||||
|
||||
if GOLD
|
||||
AM_LDFLAGS += -Wl,--no-gnu-unique
|
||||
AM_LDFLAGS += -Wl,--sort-common=descending
|
||||
endif
|
||||
|
||||
AM_CXXFLAGS += $(EXTRA_CXXFLAGS)
|
||||
AM_CPPFLAGS += $(EXTRA_CPPFLAGS)
|
||||
AM_LDFLAGS += $(EXTRA_LDFLAGS)
|
||||
|
|
Loading…
Reference in a new issue