diff --git a/package/fastd/fastd.mk b/package/fastd/fastd.mk index 5cd6a909c3..6c496cf9ef 100644 --- a/package/fastd/fastd.mk +++ b/package/fastd/fastd.mk @@ -46,7 +46,7 @@ else FASTD_CONF_OPTS += -Dsystemd=disabled endif -ifeq ($(BR2_GCC_ENABLE_LTO),y) +ifeq ($(BR2_ENABLE_LTO),y) FASTD_CONF_OPTS += -Db_lto=true else FASTD_CONF_OPTS += -Db_lto=false diff --git a/package/log4cplus/log4cplus.mk b/package/log4cplus/log4cplus.mk index b2e9ac3ed1..2dab661654 100644 --- a/package/log4cplus/log4cplus.mk +++ b/package/log4cplus/log4cplus.mk @@ -11,7 +11,7 @@ LOG4CPLUS_LICENSE = Apache-2.0, BSD-2-Clause, BSD-like (threadpool) LOG4CPLUS_LICENSE_FILES = LICENSE LOG4CPLUS_INSTALL_STAGING = YES -ifeq ($(BR2_GCC_ENABLE_LTO),y) +ifeq ($(BR2_ENABLE_LTO),y) LOG4CPLUS_CONF_OPTS += --enable-lto else LOG4CPLUS_CONF_OPTS += --disable-lto diff --git a/package/netdata/netdata.mk b/package/netdata/netdata.mk index 04b146591f..9e661f4943 100644 --- a/package/netdata/netdata.mk +++ b/package/netdata/netdata.mk @@ -23,7 +23,7 @@ NETDATA_DEPENDENCIES = libuv util-linux zlib # provided by autoconf relies on wchar_t. NETDATA_CONF_ENV = ac_cv_prog_cc_c99=-std=gnu99 -ifeq ($(BR2_GCC_ENABLE_LTO),y) +ifeq ($(BR2_ENABLE_LTO),y) NETDATA_CONF_OPTS += --enable-lto else NETDATA_CONF_OPTS += --disable-lto diff --git a/package/rocksdb/rocksdb.mk b/package/rocksdb/rocksdb.mk index c355d0012d..bed0634134 100644 --- a/package/rocksdb/rocksdb.mk +++ b/package/rocksdb/rocksdb.mk @@ -69,7 +69,7 @@ else ROCKSDB_MAKE_OPTS += ROCKSDB_DISABLE_ZSTD=1 endif -ifeq ($(BR2_GCC_ENABLE_LTO),y) +ifeq ($(BR2_ENABLE_LTO),y) ROCKSDB_MAKE_OPTS += USE_LTO=1 else ROCKSDB_MAKE_OPTS += USE_LTO=0 diff --git a/package/unbound/unbound.mk b/package/unbound/unbound.mk index 988508576b..8863d039bb 100644 --- a/package/unbound/unbound.mk +++ b/package/unbound/unbound.mk @@ -35,7 +35,7 @@ else UNBOUND_CONF_OPTS += --without-pthreads endif -ifeq ($(BR2_GCC_ENABLE_LTO),y) +ifeq ($(BR2_ENABLE_LTO),y) UNBOUND_CONF_OPTS += --enable-flto else UNBOUND_CONF_OPTS += --disable-flto diff --git a/package/valgrind/valgrind.mk b/package/valgrind/valgrind.mk index b4c4b8b5a2..17b131c3ec 100644 --- a/package/valgrind/valgrind.mk +++ b/package/valgrind/valgrind.mk @@ -52,7 +52,7 @@ VALGRIND_CONF_OPTS += \ --host=$(patsubst arm-%,armv7-%,$(GNU_TARGET_NAME)) endif -ifeq ($(BR2_GCC_ENABLE_LTO),y) +ifeq ($(BR2_ENABLE_LTO),y) VALGRIND_CONF_OPTS += --enable-lto else VALGRIND_CONF_OPTS += --disable-lto diff --git a/package/wireshark/wireshark.mk b/package/wireshark/wireshark.mk index 1a549f7037..e5d5e6f677 100644 --- a/package/wireshark/wireshark.mk +++ b/package/wireshark/wireshark.mk @@ -31,7 +31,7 @@ ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y) WIRESHARK_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic endif -ifeq ($(BR2_GCC_ENABLE_LTO),y) +ifeq ($(BR2_ENABLE_LTO),y) WIRESHARK_CONF_OPTS += -DENABLE_LTO=ON else WIRESHARK_CONF_OPTS += -DENABLE_LTO=OFF