mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
uci: macOS 12 host build support with GCC11 installed
This commit is contained in:
parent
6d687a132e
commit
6b0eeff9d9
@ -17,7 +17,12 @@ HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
|
||||
include $(INCLUDE_DIR)/host-build.mk
|
||||
|
||||
ifeq ($(HOST_OS),Darwin)
|
||||
HOSTCC :=gcc-11
|
||||
else
|
||||
HOSTCC :=gcc
|
||||
endif
|
||||
|
||||
HOST_CFLAGS +=-std=gnu89
|
||||
|
||||
define Host/Prepare
|
||||
|
Loading…
Reference in New Issue
Block a user