diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/socat/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/net/socat/Makefile b/net/socat/Makefile index 81cc7f7f9d51..307017f3ae7e 100644 --- a/net/socat/Makefile +++ b/net/socat/Makefile @@ -33,11 +33,9 @@ CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib .endif -.if(${OSVERSION} >= 1000024) -CCISCLANG!= ${CC} --version | ${HEAD} -1 | ${GREP} 'clang' -.endif +CCISCLANG!= ${CC} --version -.if ${CC} == clang || !empty(CCISCLANG) +.if !empty(CCISCLANG:M*clang*) CFLAGS+= -Wno-unused-comparison .endif |