Revert "esp_event test: Disable linker relaxations in this component, to temporarily workaround a linker bug"

This reverts commit 4eb9cc68a6136b84cac4fe68a5aadfcb936bcae8.

Alternative fix to be applied in next commit.
This commit is contained in:
Angus Gratton 2021-04-08 13:32:45 +10:00
parent 70cab5bd81
commit 7fe8720c9d

View File

@ -1,8 +1,3 @@
idf_component_register(SRC_DIRS "."
PRIV_INCLUDE_DIRS . ../private_include
PRIV_REQUIRES cmock test_utils esp_event driver)
if(CONFIG_IDF_TARGET_ARCH_RISCV)
# Temporary workaround for a linker issue on RISC-V that should be resolved in binutils 2.35 (internal ref: GCC-101)
target_compile_options(${COMPONENT_LIB} PRIVATE -mno-relax)
endif()