Skip to content

Commit

Permalink
FreeBSD: Silence clang unused-but-set-variable
Browse files Browse the repository at this point in the history
Quick and dirty build fix for warnings being treated as errors.

Signed-off-by: Ryan Moeller <[email protected]>
  • Loading branch information
Ryan Moeller authored and tonyhutter committed Jun 15, 2022
1 parent 6ff89fe commit 403d4bc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions module/Makefile.bsd
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,7 @@ beforeinstall:


CFLAGS.gcc+= -Wno-pointer-to-int-cast
CFLAGS.clang+= ${NO_WUNUSED_BUT_SET_VARIABLE}

CFLAGS.lapi.c= -Wno-cast-qual
CFLAGS.lcompat.c= -Wno-cast-qual
Expand Down

0 comments on commit 403d4bc

Please sign in to comment.