Skip to content

Commit

Permalink
Remove macOS plugin builder hacks
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <falktx@falktx.com>
  • Loading branch information
falkTX committed Dec 4, 2023
1 parent 93a650b commit df66564
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions utils/plugin-builder/plugin-builder.mk
Original file line number Diff line number Diff line change
Expand Up @@ -188,20 +188,6 @@ $(STAMP_INSTALLED): $(STAMP_BUILT)
touch $@

$(STAMP_BUILT): $(STAMP_CONFIGURED)
ifeq ($(MACOS),true)
$(foreach p,$(wildcard $($(PKG)_BUILDDIR)/Makefile $($(PKG)_BUILDDIR)/*/makefile),\
sed -i -e 's/-Wl,--gc-sections//g' $(p);)
$(foreach p,$(wildcard $($(PKG)_BUILDDIR)/Makefile),\
sed -i -e 's/-Wl,--as-needed//g' $(p);)
$(foreach p,$(wildcard $($(PKG)_BUILDDIR)/*/makefile),\
sed -i -e 's/-Wl,--no-undefined//g' $(p);)
$(foreach p,$(wildcard $($(PKG)_BUILDDIR)/*/makefile),\
sed -i -e 's/-Wl,--exclude-libs,ALL//g' $(p);)
$(foreach p,$(wildcard $($(PKG)_BUILDDIR)/*/makefile),\
sed -i -e 's/-Wl,-z,relro,-z,now//g' $(p);)
$(foreach p,$(wildcard $($(PKG)_BUILDDIR)/*/makefile),\
sed -i -e 's/-Wl,-z,noexecstack//g' $(p);)
endif
$($(PKG)_BUILD_CMDS)
touch $@

Expand Down

0 comments on commit df66564

Please sign in to comment.