Skip to content

Commit

Permalink
#219: Add support for ARM builds
Browse files Browse the repository at this point in the history
  • Loading branch information
mcdope committed Jan 3, 2024
1 parent 2c1e20f commit ef08ab6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ endif
ifeq ($(ARCH), i686)
LIBDIR ?= lib
endif
ifeq ($(ARCH), aarch64) # ARM64, i.e Apple silicon and other up2date CPUs/SoCs
LIBDIR ?= lib/aarch64-linux-gnu
endif
ifeq ($(ARCH), armv7l) # ARM32, i.e Raspberries
LIBDIR ?= lib/arm-linux-gnueabihf
endif

# compiler/linker options
CC := gcc
Expand Down

0 comments on commit ef08ab6

Please sign in to comment.