mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-12-09 13:15:15 -05:00
Enable C89 flag for unit tests (#718)
Signed-off-by: Gaurav Aggarwal <aggarg@amazon.com>
This commit is contained in:
parent
a483eba7d4
commit
575acb8a1a
3 changed files with 3 additions and 3 deletions
|
|
@ -1 +1 @@
|
||||||
Subproject commit 78da9cb261787895bb3eb9c1d0753072498544d6
|
Subproject commit e13f9903850a57ed5cdf3fc330f5faf4d3096d1b
|
||||||
|
|
@ -131,7 +131,7 @@ $(PROJ_DIR)/%.i : $(KERNEL_DIR)/%.c
|
||||||
|
|
||||||
# compile the project objects with coverage instrumented
|
# compile the project objects with coverage instrumented
|
||||||
$(PROJ_DIR)/%.o : $(PROJ_DIR)/%.i
|
$(PROJ_DIR)/%.o : $(PROJ_DIR)/%.i
|
||||||
$(CC) -c $< $(CPPFLAGS) $(CFLAGS) $(INCLUDE_DIR) $(GCC_COV_OPTS) -o $@
|
$(CC) -c $< $(CPPFLAGS) $(CFLAGS) $(INCLUDE_DIR) $(GCC_COV_OPTS) -Wall -Wextra -Werror -pedantic -std=c89 -o $@
|
||||||
|
|
||||||
# Build mock objects
|
# Build mock objects
|
||||||
$(SCRATCH_DIR)/mock_%.o : $(MOCKS_DIR)/mock_%.c
|
$(SCRATCH_DIR)/mock_%.o : $(MOCKS_DIR)/mock_%.c
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ description: "This is the standard distribution of FreeRTOS."
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- name: "FreeRTOS-Kernel"
|
- name: "FreeRTOS-Kernel"
|
||||||
version: "78da9cb"
|
version: "e13f990"
|
||||||
repository:
|
repository:
|
||||||
type: "git"
|
type: "git"
|
||||||
url: "https://github.com/FreeRTOS/FreeRTOS-Kernel.git"
|
url: "https://github.com/FreeRTOS/FreeRTOS-Kernel.git"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue