TFLu: remove -fno-builtin compiler flag

The flag may cause performance issues, since it disables special
handling and optimizations of standard C library functions.
This commit is contained in:
Måns Nilsson 2020-03-20 07:22:09 +01:00
parent 61581a3b7c
commit 6f042c81d7
6 changed files with 0 additions and 6 deletions

View File

@ -40,7 +40,6 @@ $(MAKEFILE_DIR)/downloads/$(AM_SDK_DEST)/$(SF_BSPS_DEST): $(MAKEFILE_DIR)/downlo
-fmessage-length=0 \
-fno-exceptions \
-fno-unwind-tables \
-fno-builtin \
-ffunction-sections \
-fdata-sections \
-funsigned-char \

View File

@ -19,7 +19,6 @@ ifeq ($(TARGET), bluepill)
-fmessage-length=0 \
-fno-exceptions \
-fno-unwind-tables \
-fno-builtin \
-ffunction-sections \
-fdata-sections \
-funsigned-char \

View File

@ -27,7 +27,6 @@ ifeq ($(TARGET), ecm3531)
-fmessage-length=0 \
-fno-exceptions \
-fno-unwind-tables \
-fno-builtin \
-ffunction-sections \
-fdata-sections \
-funsigned-char \

View File

@ -39,7 +39,6 @@ ifeq ($(TARGET), hexagon)
-fdata-sections \
-ffunction-sections \
-fmessage-length=0 \
-fno-builtin \
-fno-delete-null-pointer-checks \
-fno-exceptions \
-fno-register-global-dtors-with-atexit \

View File

@ -16,7 +16,6 @@ ifeq ($(TARGET), riscv32_mcu)
-DTF_LITE_MCU_DEBUG_LOG \
-DTF_LITE_USE_GLOBAL_ROUND \
-fno-unwind-tables \
-fno-builtin \
-ffunction-sections \
-fdata-sections \
-funsigned-char \

View File

@ -16,7 +16,6 @@ ifeq ($(TARGET), stm32f4)
-fmessage-length=0 \
-fno-exceptions \
-fno-unwind-tables \
-fno-builtin \
-ffunction-sections \
-fdata-sections \
-funsigned-char \