Revert "sim/make: fix macos sim:nsh make break, no -mcmodel in clang"

This reverts commit 56c920ce5d.

Signed-off-by: cuiziwei <cuiziwei@xiaomi.com>
This commit is contained in:
cuiziwei
2024-11-19 15:10:25 +08:00
committed by Xiang Xiao
parent 12cd59b3e6
commit 42ea6fd7a0
+2 -2
View File
@@ -149,8 +149,8 @@ ifeq ($(CONFIG_SIM_M32),y)
ARCHCFLAGS += -m32
ARCHCXXFLAGS += -m32
else
ARCHCFLAGS += -fno-pic -mcmodel=large
ARCHCXXFLAGS += -fno-pic -mcmodel=large
ARCHCFLAGS += -fno-pic -mcmodel=medium
ARCHCXXFLAGS += -fno-pic -mcmodel=medium
endif
# LLVM style architecture flags