mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 00:10:07 +01:00
When configuring with sanitizers enabled, ./configure.ac sets -DVALGRIND=1 in the CFLAGS. This causes a compilation error later: $ /bin/sh ./libtool --tag=CC --mode=compile gcc ... -DVALGRIND=1 ... src/dhcp/nm-dhcp-nettools.c ... In file included from src/dhcp/nm-dhcp-nettools.c:16: ./shared/systemd/sd-adapt-shared/nm-sd-adapt-shared.h:73: error: "VALGRIND" redefined [-Werror] #define VALGRIND 0 |
||
|---|---|---|
| .. | ||
| sd-adapt-shared | ||
| src | ||
| nm-logging-stub.c | ||
| nm-sd-utils-shared.c | ||
| nm-sd-utils-shared.h | ||