Skip to content

Commit

Permalink
Disable LTO for all targets
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Oct 17, 2023
1 parent 9520af2 commit e155cd7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions utils/plugin-builder.mk
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ $(PKG)_PKGDIR = $(CURDIR)/mod-plugin-builder/plugins/package/$(pkgname)

RENAME_EXTENSION = $(foreach f,$(2)$(3)$(4)$(5)$(6)$(7)$(8)$(9)$(10)$(11)$(12)$(13)$(14)$(15)$(16)$(17)$(18)$(19),mv $(f) $(subst .so,.$(1),$(f));) echo

BR2_SKIP_LTO = y
BR2_TARGET_OPTIMIZATION =

MAKE1 = make -j1
Expand All @@ -75,8 +76,6 @@ TARGET_DIR = $(PAWPAW_PREFIX)

ifeq ($(MACOS),true)
STRIP = true
else ifeq ($(WINDOWS),true)
BR2_SKIP_LTO = y
endif

ifneq ($(TOOLCHAIN_PREFIX),)
Expand Down

0 comments on commit e155cd7

Please sign in to comment.