aboutsummaryrefslogtreecommitdiff
path: root/.mumi
ModeNameSize
-rw-r--r--config122logplainabout
issed in my earlier change that nix/local.mk was referring LIBGCRYPT_* vars directly. And, instead of CXXFLAGS, CPPFLAGS is used since the latter is probably more correct as this is used for include dirs, therefore using preprocessor flags. Tested with ./configure LDFLAGS="-Wl,--as-needed" --with-libgcrypt-prefix=... combinations. * config-daemon.ac: Set ‘LIBGCRYPT_CPPFLAGS’ instead of ‘LIBGCRYPT_CXXFLAGS’. Set ‘LIBGCRYPT_LIBS’ in addition to ‘LIBGCRYPT_LDFLAGS’. Save and restore ‘CPPFLAGS’, ‘LDFLAGS’, and ‘LIBS’ around test. * nix/local.mk (libutil_a_CPPFLAGS): Add $(LIBGCRYPT_CPPFLAGS). (libstore_a_CXXFLAGS): Remove $(LIBGCRYPT_CFLAGS). (guix_daemon_LDFLAGS): New variable. Change-Id: Iadb10e1994c9a78e2927847af2cfe5e096fbb2a8 Signed-off-by: Ludovic Courtès <ludo@gnu.org> Doğan Çeçen 2024-11-22daemon: Fix --with-libgcrypt-* args of the configure script....Since the daemon is written in C++, we need to modify CXXFLAGS instead of CFLAGS to find include files. Use LIBGCRYPT_LDFLAGS instead of LIBGCRYPT_LIBS, since only the former is added to LDFLAGS. * config-daemon.ac: Change LDFLAGS and CXXFLAGS when --with-libgcrypt-* arguments are passed to the configure script. Change-Id: I0f3867491e46608e71b1ea0b3214674bca64b31d Signed-off-by: Andreas Enge <andreas@enge.fr> Doğan Çeçen