Skip to content

Commit

Permalink
Support both 14k and 16k pages to fix 32bit build on Raspberry Pi 5
Browse files Browse the repository at this point in the history
  • Loading branch information
benfrancis committed Jul 12, 2024
1 parent 039e038 commit 3845b1b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ export PREFIX
UNAME := $(shell uname)
export UNAME

# Support both 4K & 16K pages for Raspberry Pi 5
LDFLAGS += "-Wl,-z,max-page-size=16384"

all:
@LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS)" $(MAKE) -C $(top_srcdir)/cpp/build/ -$(MAKEFLAGS)
@LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS)" $(MAKE) -C $(top_srcdir)/cpp/examples/MinOZW/ -$(MAKEFLAGS)
Expand Down

0 comments on commit 3845b1b

Please sign in to comment.