Compile commands generator (#1223)

This commit is contained in:
SG
2022-05-12 21:38:33 +10:00
committed by GitHub
parent 85a129b89f
commit 5de72e75df
4 changed files with 98 additions and 1 deletions

View File

@@ -36,6 +36,6 @@ else
CFLAGS += -DFURI_NDEBUG -DNDEBUG -Og -g
endif
CFLAGS += -fdata-sections -ffunction-sections -fno-math-errno -fstack-usage -MMD -MP -MF"$(@:%.o=%.d)"
CFLAGS += -fdata-sections -ffunction-sections -fno-math-errno -fstack-usage -MMD -MP -MF "$(@:%.o=%.d)"
CPPFLAGS += -fno-threadsafe-statics -fno-use-cxa-atexit -fno-exceptions -fno-rtti
LDFLAGS += -Wl,-Map=$(OBJ_DIR)/$(PROJECT).map,--cref -Wl,--gc-sections -Wl,--undefined=uxTopUsedPriority -n