Skip to content

Commit

Permalink
Backport for macos12 (monterey)
Browse files Browse the repository at this point in the history
  • Loading branch information
cpiker committed Nov 21, 2023
1 parent e24f839 commit 99c464b
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 @@ -21,7 +21,7 @@ INST_DOC=$(INST_SHARE)/doc
endif

ifeq ($(N_ARCH),)
N_ARCH=$(shell uname -o).$(shell uname -m)
N_ARCH=$(shell uname).$(shell uname -m)
N_ARCH:=$(subst /,_,$(N_ARCH))
endif

Expand Down Expand Up @@ -54,7 +54,7 @@ C_BUILD_DIR:=$(CURDIR)/$(BUILD_DIR)
# Native Platform specific include

UNAME=$(shell uname -s)
BUILD_ARCH=$(shell uname -o).$(shell uname -m)
BUILD_ARCH=$(shell uname).$(shell uname -m)
BUILD_ARCH:=$(subst /,_,$(BUILD_ARCH))

$(info Host architecture is $(BUILD_ARCH))
Expand Down

0 comments on commit 99c464b

Please sign in to comment.