diff Makefile @ 10:40cf179a620e

FIX: Allow to build with clang/cc instead of gcc. CMakeLists.txt needed proper tewaking. Also assume that libprom.so is already installed (header and lib) into /usr/local/{include,lib}.
author Franz Glasner <fzglas.hg@dom66.de>
date Tue, 18 Mar 2025 20:37:29 +0100
parents 4746e1c5cb56
children
line wrap: on
line diff
--- a/Makefile	Tue Mar 18 18:17:59 2025 +0100
+++ b/Makefile	Tue Mar 18 20:37:29 2025 +0100
@@ -19,8 +19,6 @@
 LIB_DEPENDS=	libprom.so:net-mgmt/prometheus-client-c-libprom \
 		libmicrohttpd.so:www/libmicrohttpd
 
-# Currently compilation errors on incompatible types with clang
-USE_GCC=	yes
 USE_LDCONFIG=	yes
 
 CMAKE_SOURCE_PATH=	${WRKSRC}/promhttp