summaryrefslogtreecommitdiff
path: root/net/udt/files/BSDmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/udt/files/BSDmakefile')
-rw-r--r--net/udt/files/BSDmakefile7
1 files changed, 2 insertions, 5 deletions
diff --git a/net/udt/files/BSDmakefile b/net/udt/files/BSDmakefile
index f41527d37ffa..49c087ab83db 100644
--- a/net/udt/files/BSDmakefile
+++ b/net/udt/files/BSDmakefile
@@ -15,10 +15,7 @@ CXXFLAGS+= -D${MACHINE_ARCH:tu:S/I386/IA32/:S/SPARC64/SPARC/} -DBSD
CXXFLAGS+= -Wno-system-headers -Wall -W \
-Wpointer-arith -Wreturn-type \
-Wwrite-strings -Wswitch -Wno-cast-align \
- -Wunused-parameter -Werror
-
-.if ${OSVERSION} >= 1304000
-CXXFLAGS+= -Wno-vla-cxx-extension
-.endif
+ -Wunused-parameter -Werror \
+ -Wno-vla-cxx-extension
.include <bsd.lib.mk>