Fix incorrect clang target parameter

This commit is contained in:
Yangmoooo 2024-12-09 21:47:56 +08:00 committed by ccmywish
parent a5dcaad8d0
commit 201be5d61c

View File

@ -11,7 +11,7 @@ CFLAGS = -Iinclude # -Wall
# 只有Windows会定义该变量 # 只有Windows会定义该变量
ifeq ($(OS), Windows_NT) ifeq ($(OS), Windows_NT)
CLANG_FLAGS = -Target x86_64-pc-windows-gnu CLANG_FLAGS = -target x86_64-pc-windows-gnu
endif endif
ifeq ($(CC), clang) ifeq ($(CC), clang)
CFLAGS += $(CLANG_FLAGS) CFLAGS += $(CLANG_FLAGS)