mirror of
https://github.com/espressif/openthread.git
synced 2026-08-30 22:09:54 +00:00
[efr32] remove -nostartfiles to use Newlib _start (#5905)
Remove -nostartfiles. There's currently no custom __START defined anywhere. Remove -D__STARTUP_CLEAR_BSS for silabs. Standard initialization should already take care of this.
This commit is contained in:
@@ -96,7 +96,6 @@ COMMONCFLAGS := \
|
||||
-Os \
|
||||
-g \
|
||||
-I$(HAL_CONF_DIR) \
|
||||
-D__START=main \
|
||||
-D$(MCU) \
|
||||
$(EFR32_CONFIG_FILE_CPPFLAGS) \
|
||||
$(NULL)
|
||||
@@ -138,7 +137,6 @@ CXXFLAGS += \
|
||||
LDFLAGS += \
|
||||
$(COMMONCFLAGS) \
|
||||
$(target_LDFLAGS) \
|
||||
-nostartfiles \
|
||||
-specs=nano.specs \
|
||||
-specs=nosys.specs \
|
||||
-Wl,--gc-sections \
|
||||
|
||||
@@ -114,7 +114,6 @@ COMMONCFLAGS := \
|
||||
-Os \
|
||||
-g \
|
||||
-I$(HAL_CONF_DIR) \
|
||||
-D__START=main \
|
||||
-D$(MCU) \
|
||||
$(EFR32_CONFIG_FILE_CPPFLAGS) \
|
||||
$(NULL)
|
||||
@@ -156,7 +155,6 @@ CXXFLAGS += \
|
||||
LDFLAGS += \
|
||||
$(COMMONCFLAGS) \
|
||||
$(target_LDFLAGS) \
|
||||
-nostartfiles \
|
||||
-specs=nano.specs \
|
||||
-specs=nosys.specs \
|
||||
-Wl,--gc-sections \
|
||||
|
||||
@@ -100,7 +100,6 @@ COMMONCFLAGS := \
|
||||
-Os \
|
||||
-g \
|
||||
-I$(HAL_CONF_DIR) \
|
||||
-D__START=main \
|
||||
-D$(MCU) \
|
||||
$(EFR32_CONFIG_FILE_CPPFLAGS) \
|
||||
$(NULL)
|
||||
@@ -142,7 +141,6 @@ CXXFLAGS += \
|
||||
LDFLAGS += \
|
||||
$(COMMONCFLAGS) \
|
||||
$(target_LDFLAGS) \
|
||||
-nostartfiles \
|
||||
-specs=nano.specs \
|
||||
-specs=nosys.specs \
|
||||
-Wl,--gc-sections \
|
||||
|
||||
@@ -106,7 +106,6 @@ COMMONCFLAGS := \
|
||||
-Os \
|
||||
-g \
|
||||
-I$(HAL_CONF_DIR) \
|
||||
-D__START=main \
|
||||
-D$(MCU) \
|
||||
$(EFR32_CONFIG_FILE_CPPFLAGS) \
|
||||
$(NULL)
|
||||
@@ -148,7 +147,6 @@ CXXFLAGS += \
|
||||
LDFLAGS += \
|
||||
$(COMMONCFLAGS) \
|
||||
$(target_LDFLAGS) \
|
||||
-nostartfiles \
|
||||
-specs=nano.specs \
|
||||
-specs=nosys.specs \
|
||||
-Wl,--gc-sections \
|
||||
|
||||
Vendored
-1
@@ -165,7 +165,6 @@ libsilabs_mbedtls_a_SOURCES =
|
||||
# =============================================================================
|
||||
|
||||
COMMONCPPFLAGS = \
|
||||
-D__STARTUP_CLEAR_BSS \
|
||||
-I$(srcdir) \
|
||||
-I$(top_srcdir)/include \
|
||||
-I$(top_srcdir)/src/core \
|
||||
|
||||
Reference in New Issue
Block a user