Skip to content

Commit

Permalink
Fix non-aarch64 build when using unbundled loader
Browse files Browse the repository at this point in the history
Fixes #44
  • Loading branch information
michalbednarski authored and Grimler91 committed Jul 25, 2022
1 parent dd520c9 commit 338f468
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -86,12 +86,14 @@ $(eval $(call define_from_arch.h,,HAS_POKEDATA_WORKAROUND))

ifdef PROOT_UNBUNDLE_LOADER
CFLAGS += "-DPROOT_UNBUNDLE_LOADER=\"$(PROOT_UNBUNDLE_LOADER)\""
proot: | loader/loader
ifdef HAS_LOADER_32BIT
proot: | loader/loader-m32
endif
else
OBJECTS += loader/loader-wrapped.o
proot: | loader/loader
ifdef HAS_LOADER_32BIT
OBJECTS += loader/loader-m32-wrapped.o
proot: | loader/loader-m32
endif
endif

Expand Down

0 comments on commit 338f468

Please sign in to comment.