Skip to content

Commit

Permalink
M1 build support(untested)
Browse files Browse the repository at this point in the history
  • Loading branch information
ckosmic committed Oct 7, 2022
1 parent 78eb805 commit b645bd5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -469,7 +469,7 @@ AS := i686-w64-mingw32-as
endif

ifneq ($(TARGET_WEB),1) # As in, not-web PC port
CC ?= $(CROSS)gcc
CC ?= $(CROSS)gcc-12
CXX ?= $(CROSS)g++
else
CC := emcc
Expand All @@ -495,7 +495,7 @@ ifeq ($(WINDOWS_BUILD),1) # fixes compilation in MXE on Linux and WSL
OBJCOPY := objcopy
OBJDUMP := $(CROSS)objdump
else ifeq ($(OSX_BUILD),1)
CPP := cpp-10 -P
CPP := cpp-12 -P
OBJDUMP := i686-w64-mingw32-objdump
OBJCOPY := i686-w64-mingw32-objcopy
else # Linux & other builds
Expand Down

0 comments on commit b645bd5

Please sign in to comment.