UA_source icon indicating copy to clipboard operation
UA_source copied to clipboard

Fix build on macOS arm64

Open rnkn opened this issue 1 year ago • 1 comments

Hello. There are a few things in this PR. The main changes are discussed in #64

The Makefile was overriding CFLAGS and LDFLAGS so I've changed those.

I've also changed the build process to not use OBJDIR. I found this a bit clunky:

printf "$(OBJDIR)/" > $@

and I think this is neater and permits resuming an interrupted build without running make clean and starting from scratch.

I've also required a system fmtlib instead of building in repo. ~I have not, however, removed the format.cc object required for building. (I don't really understand this tbh.)~

I understand if you don't want to merge this. It's mainly for my own interest.

rnkn avatar Oct 26 '24 14:10 rnkn

I figured out how to build entirely with the system fmtlib, which makes the build even simpler because there are no CCFILES.

rnkn avatar Oct 27 '24 02:10 rnkn