diff --git a/make/functions.mk b/make/functions.mk index ab3d3eba2..acd77b302 100644 --- a/make/functions.mk +++ b/make/functions.mk @@ -51,3 +51,4 @@ endef smallify = $(subst $(SPACE),-,$(call lc,$1)) +get_arch = $(shell $(CC) -dumpmachine | sed s/-.*//)