Skip to content

Commit

Permalink
depends: don't restrict --enable-lto to non-guix cctools
Browse files Browse the repository at this point in the history
This wasn't actually disabling LTO support anyways, because it's enabled
by default.
  • Loading branch information
fanquake committed Jul 29, 2022
1 parent 9b60690 commit 7f73f42
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions depends/packages/native_cctools.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,9 @@ $(package)_build_subdir=cctools
$(package)_dependencies=native_libtapi

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
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)_cxx=$(clangxx_prog)
endef
Expand Down

0 comments on commit 7f73f42

Please sign in to comment.