mirror of
https://git.freebsd.org/ports.git
synced 2025-05-08 03:40:46 -04:00
cc1: error: unrecognized command line option "-Wimplicit-fallthrough" cc1: error: unrecognized command line option "-Wcovered-switch-default" cc1: error: unrecognized command line option "-Wno-noexcept-type" cc1: error: unrecognized command line option "-Wstring-conversion" Tested to build with Clang.
11 lines
582 B
Text
11 lines
582 B
Text
--- Makefile.orig 2020-11-14 01:58:17 UTC
|
|
+++ Makefile
|
|
@@ -2,7 +2,7 @@ PROG= snort2pfcd
|
|
SRCS= main.c parser.c kevent.c spfc.c tools.c
|
|
MAN= ${PROG}.8
|
|
CFLAGS+= -Wall -Wextra -pipe -fno-strict-aliasing -pedantic -pthread -Wno-unused-parameter \
|
|
--Wno-long-long -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wstring-conversion \
|
|
+-Wno-long-long -Wimplicit-fallthrough -Wno-noexcept-type \
|
|
-Wwrite-strings -Wcast-qual -Wmissing-field-initializers -D_REENTRANT -D_THREAD_SAFE -D_VERSION="${1}" -I${LOCALBASE}/include
|
|
|
|
LDFLAGS+=-lutil -L${LOCALBASE}/lib -lcidr
|