Skip to content

Commit

Permalink
osx: fix package build on Apple Silicon
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentbernat committed May 4, 2024
1 parent 94b8881 commit c4d33cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion osx/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ $(ARCHS:%=stamp-%): stamp-%: im.bernat.lldpd.plist
[ -d $(pkg_curarch) ] || mkdir -p $(pkg_curarch)
(cd $(pkg_curarch) && \
$(abs_top_srcdir)/configure @CONFIGURE_ARGS@ \
CC="@CC@ -arch $(pkg_curarch)" \
CC="@CC@ -arch $$(echo $(pkg_curarch) | sed s/aarch64/arm64/)" \
CPP="@CPP@")
(cd $(pkg_curarch) && \
$(MAKE) install DESTDIR=$(abs_builddir)/$(pkg_curarch)/$(PKG_DIR))
Expand Down

0 comments on commit c4d33cf

Please sign in to comment.