boards/sim/sim/sim/scripts/Make.defs: simplify a bit

no functional changes are intended.
This commit is contained in:
YAMAMOTO Takashi 2024-12-17 12:01:23 +09:00 committed by Xiang Xiao
parent 99b594d4ae
commit f7463941e8

View file

@ -149,12 +149,11 @@ ifeq ($(CONFIG_SIM_M32),y)
ARCHCFLAGS += -m32
ARCHCXXFLAGS += -m32
else
ifeq ($(CONFIG_HOST_MACOS),y)
ARCHCFLAGS += -fno-pic
ARCHCXXFLAGS += -fno-pic
else
ARCHCFLAGS += -fno-pic -mcmodel=medium
ARCHCXXFLAGS += -fno-pic -mcmodel=medium
ARCHCFLAGS += -fno-pic
ARCHCXXFLAGS += -fno-pic
ifneq ($(CONFIG_HOST_MACOS),y)
ARCHCFLAGS += -mcmodel=medium
ARCHCXXFLAGS += -mcmodel=medium
endif
endif