Fix unix and pre-commit

This commit is contained in:
Scott Shawcroft 2022-05-27 15:48:01 -07:00
parent 3cc46c74b9
commit 8d559196ed
No known key found for this signature in database
GPG Key ID: 0DFD512649C052DA
2 changed files with 5 additions and 5 deletions

View File

@ -62,7 +62,7 @@ $(BUILD)/%.o: %.c | $(HEADER_BUILD)/qstrdefs.generated.h $(HEADER_BUILD)/qstrdef
$(call compile_c)
vpath %.cpp . $(TOP) $(USER_C_MODULES)
$(BUILD)/%.o: %.cpp
$(BUILD)/%.o: %.cpp | $(HEADER_BUILD)/qstrdefs.generated.h $(HEADER_BUILD)/qstrdefs.enum.h
$(call compile_cxx)
QSTR_GEN_EXTRA_CFLAGS += -DNO_QSTR -x c