NetworkManager/shared/systemd
Thomas Haller 2c9af9db43
build: fix redefinition of VALGRIND define in "nm-sd-adapt-shared.h"
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

(cherry picked from commit 3c581cbb78)
2020-05-13 17:24:30 +02:00
..
sd-adapt-shared build: fix redefinition of VALGRIND define in "nm-sd-adapt-shared.h" 2020-05-13 17:24:30 +02:00
src systemd: merge branch systemd into master 2020-04-08 09:08:49 +02:00
nm-logging-stub.c all: unify format of our Copyright source code comments 2019-10-02 17:03:52 +02:00
nm-sd-utils-shared.c shared: export systemd dns and hostname validation functions 2019-10-17 18:04:29 +02:00
nm-sd-utils-shared.h shared: export systemd dns and hostname validation functions 2019-10-17 18:04:29 +02:00