Skip to content

Commit

Permalink
Makefile: disable -Wchar-subscripts
Browse files Browse the repository at this point in the history
JIRA: RTOS-927
  • Loading branch information
badochov committed Oct 4, 2024
1 parent 9278245 commit bfeac7a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ NAME := lwip-core
SRCS := $(LWIP_SRCS)
# don't install include subdir contents, these are actually internal headers
LOCAL_HEADER_DIR := nothing

# lib-lwip wasn't developed with adhering to this rule in mind
LOCAL_CFLAGS += -Wno-char-subscripts

include $(static-lib.mk)

# should define NET_DRIVERS and platform driver sources
Expand Down
3 changes: 3 additions & 0 deletions port/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@ else
LOCAL_CFLAGS += -DLWIP_WIFI=0
endif

# lib-lwip wasn't developed with adhering to this rule in mind
LOCAL_CFLAGS += -Wno-char-subscripts

include $(binary.mk)

0 comments on commit bfeac7a

Please sign in to comment.