diff --git a/package/disney/disney.mk b/package/disney/disney.mk index 8a34d66e4e29..2f4747a1a4d6 100644 --- a/package/disney/disney.mk +++ b/package/disney/disney.mk @@ -62,8 +62,10 @@ endif _DISNEY_BUILD_TYPE = debug ifeq ($(BR2_PACKAGE_DISNEY_BUILD_RELEASE),y) _DISNEY_BUILD_TYPE = release-o2 +export LTO_AR = ${TARGET_CROSS}gcc-ar else ifeq ($(BR2_PACKAGE_DISNEY_BUILD_PRODUCTION),y) _DISNEY_BUILD_TYPE = ship +export LTO_AR = ${TARGET_CROSS}gcc-ar endif