depends: don't restrict --enable-lto to non-guix cctools

This wasn't actually disabling LTO support anyways, because it's enabled
by default.
This commit is contained in:
fanquake 2022-07-18 16:29:06 +01:00
parent 9b60690b94
commit 7f73f422a4
No known key found for this signature in database
GPG key ID: 2EEB9F5CC09526C1

View file

@ -7,11 +7,9 @@ $(package)_build_subdir=cctools
$(package)_dependencies=native_libtapi $(package)_dependencies=native_libtapi
define $(package)_set_vars define $(package)_set_vars
$(package)_config_opts=--target=$(host) $(package)_config_opts=--target=$(host) --enable-lto-support
$(package)_config_opts+=--with-llvm-config=$(llvm_config_prog)
$(package)_ldflags+=-Wl,-rpath=\\$$$$$$$$\$$$$$$$$ORIGIN/../lib $(package)_ldflags+=-Wl,-rpath=\\$$$$$$$$\$$$$$$$$ORIGIN/../lib
ifeq ($(strip $(FORCE_USE_SYSTEM_CLANG)),)
$(package)_config_opts+=--enable-lto-support --with-llvm-config=$(build_prefix)/bin/llvm-config
endif
$(package)_cc=$(clang_prog) $(package)_cc=$(clang_prog)
$(package)_cxx=$(clangxx_prog) $(package)_cxx=$(clangxx_prog)
endef endef