Skip to content

Commit 406c2d9

Browse files
committed
fixup! Add RIOT examples
Remove -Wstrict-prototypes and -Wold-style-definition CFLAG to make reactor-uc build for RIOT
1 parent cb5de7d commit 406c2d9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

make/riot/external_modules/reactor-uc/Makefile.include

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,12 @@ CFLAGS += -DPLATFORM_RIOT=1
44
# Remove the -Wcast-align flag for this module
55
CFLAGS := $(filter-out -Wcast-align,$(CFLAGS))
66

7+
# Remove the -Wstrict-prototypes flag for this module
8+
CFLAGS := $(filter-out -Wstrict-prototypes,$(CFLAGS))
9+
10+
# Remove the -Wold-style-definition flag for this module
11+
CFLAGS := $(filter-out -Wold-style-definition,$(CFLAGS))
12+
713
# Use an immediate variable to evaluate `MAKEFILE_LIST` now
814
USEMODULE_INCLUDES_reactor-uc := $(LAST_MAKEFILEDIR)/../../../../include
915
USEMODULE_INCLUDES += $(USEMODULE_INCLUDES_reactor-uc)

0 commit comments

Comments
 (0)