mirror of
https://github.com/dashpay/dash.git
synced 2024-12-24 19:42:46 +01:00
partial bitcoin#25612: default to using GCC tool wrappers for LTO (with GCC)
excludes: - 6fdc13c61f0e5ef6be0c03fa475741ab2cd57672
This commit is contained in:
parent
9e0b93568b
commit
019c9dd7f4
@ -5,6 +5,10 @@ ifneq ($(LTO),)
|
|||||||
linux_CFLAGS += -flto
|
linux_CFLAGS += -flto
|
||||||
linux_CXXFLAGS += -flto
|
linux_CXXFLAGS += -flto
|
||||||
linux_LDFLAGS += -flto
|
linux_LDFLAGS += -flto
|
||||||
|
|
||||||
|
linux_AR = $(host_toolchain)gcc-ar
|
||||||
|
linux_NM = $(host_toolchain)gcc-nm
|
||||||
|
linux_RANLIB = $(host_toolchain)gcc-ranlib
|
||||||
endif
|
endif
|
||||||
|
|
||||||
linux_release_CFLAGS=-O2
|
linux_release_CFLAGS=-O2
|
||||||
|
@ -9,6 +9,10 @@ ifneq ($(LTO),)
|
|||||||
mingw32_CFLAGS += -flto
|
mingw32_CFLAGS += -flto
|
||||||
mingw32_CXXFLAGS += -flto
|
mingw32_CXXFLAGS += -flto
|
||||||
mingw32_LDFLAGS += -flto
|
mingw32_LDFLAGS += -flto
|
||||||
|
|
||||||
|
mingw32_AR = $(host_toolchain)gcc-ar
|
||||||
|
mingw32_NM = $(host_toolchain)gcc-nm
|
||||||
|
mingw32_RANLIB = $(host_toolchain)gcc-ranlib
|
||||||
endif
|
endif
|
||||||
|
|
||||||
mingw32_release_CFLAGS=-O2
|
mingw32_release_CFLAGS=-O2
|
||||||
|
@ -5,6 +5,10 @@ ifneq ($(LTO),)
|
|||||||
netbsd_CFLAGS += -flto
|
netbsd_CFLAGS += -flto
|
||||||
netbsd_CXXFLAGS += -flto
|
netbsd_CXXFLAGS += -flto
|
||||||
netbsd_LDFLAGS += -flto
|
netbsd_LDFLAGS += -flto
|
||||||
|
|
||||||
|
netbsd_AR = $(host_toolchain)gcc-ar
|
||||||
|
netbsd_NM = $(host_toolchain)gcc-nm
|
||||||
|
netbsd_RANLIB = $(host_toolchain)gcc-ranlib
|
||||||
endif
|
endif
|
||||||
|
|
||||||
netbsd_CXXFLAGS=$(netbsd_CFLAGS)
|
netbsd_CXXFLAGS=$(netbsd_CFLAGS)
|
||||||
|
Loading…
Reference in New Issue
Block a user