git: 16895d62b96d - main - databases/rocksdb: Clean up

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Tue, 02 Sep 2025 20:15:15 UTC
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=16895d62b96de16d8dfccc6d38fee3349cf14b43

commit 16895d62b96de16d8dfccc6d38fee3349cf14b43
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-09-02 19:49:30 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-09-02 20:14:37 +0000

    databases/rocksdb: Clean up
    
    All supported FreeBSD releases has clang 17+ in base system.
---
 databases/rocksdb/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/databases/rocksdb/Makefile b/databases/rocksdb/Makefile
index f96c6c236285..06230db225c4 100644
--- a/databases/rocksdb/Makefile
+++ b/databases/rocksdb/Makefile
@@ -59,10 +59,7 @@ ZSTD_MAKE_ENV_OFF=	ROCKSDB_DISABLE_ZSTD=yes
 .include <bsd.port.pre.mk>
 
 .if ${CHOSEN_COMPILER_TYPE} == clang
-CXXFLAGS+=	-Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable
-.if ${COMPILER_VERSION} >= 170
-CXXFLAGS+=	-Wno-sync-alignment
-.endif
+CXXFLAGS+=	-Wno-sync-alignment -Wno-unused-but-set-variable -Wno-unused-parameter -Wno-unused-variable
 .endif
 
 post-patch: