0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00

Fix -fuse-ld ldflags.

This commit is contained in:
Jason Volk 2019-06-24 01:05:52 -06:00
parent 83dd5581be
commit c692b009a4
3 changed files with 36 additions and 3 deletions

View file

@ -22,7 +22,6 @@ AM_CPPFLAGS = \
AM_LDFLAGS = \
-dlopen self \
-Wl,-fuse-ld=gold \
-Wl,--warn-execstack \
-Wl,--warn-common \
-Wl,--detect-odr-violations \
@ -41,6 +40,18 @@ AM_LDFLAGS = \
@EXTRA_LDFLAGS@ \
###
if GCC
AM_LDFLAGS += \
-Wl,-fuse-ld=gold \
###
endif
if CLANG
AM_LDFLAGS += \
-fuse-ld=gold \
###
endif
bin_PROGRAMS = construct
construct_LDFLAGS = \

View file

@ -33,7 +33,6 @@ AM_CPPFLAGS = \
AM_LDFLAGS = \
-version-info 3:1:0 \
-Wl,-fuse-ld=gold \
-Wl,--warn-common \
-Wl,--warn-execstack \
-Wl,--detect-odr-violations \
@ -53,6 +52,18 @@ AM_LDFLAGS = \
@EXTRA_LDFLAGS@ \
###
if GCC
AM_LDFLAGS += \
-Wl,-fuse-ld=gold \
###
endif
if CLANG
AM_LDFLAGS += \
-fuse-ld=gold \
###
endif
if MINGW
AM_LDFLAGS += \
-Wl,--enable-runtime-pseudo-reloc \

View file

@ -33,7 +33,6 @@ AM_CPPFLAGS = \
AM_LDFLAGS = \
-module \
-avoid-version \
-Wl,-fuse-ld=gold \
-Wl,--warn-common \
-Wl,--warn-execstack \
-Wl,--detect-odr-violations \
@ -49,6 +48,18 @@ AM_LDFLAGS = \
@EXTRA_LDFLAGS@ \
###
if GCC
AM_LDFLAGS += \
-Wl,-fuse-ld=gold \
###
endif
if CLANG
AM_LDFLAGS += \
-fuse-ld=gold \
###
endif
###############################################################################
#
# /