From: Vincent Bernat Date: Mon, 9 Apr 2018 12:19:03 +0000 (+0200) Subject: build: don't override CFLAGS when building libevent X-Git-Tag: 1.0.1~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f55c541ccb286c5a3719f578fc4fbe66516821a3;p=thirdparty%2Flldpd.git build: don't override CFLAGS when building libevent We still want for example the minimal macOS version. --- diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am index 9c00ca13..98cbba85 100644 --- a/src/daemon/Makefile.am +++ b/src/daemon/Makefile.am @@ -149,7 +149,7 @@ endif if LIBEVENT_EMBEDDED event.c: $(top_builddir)/libevent/libevent.la $(top_builddir)/libevent/libevent.la: $(top_srcdir)/libevent/*.c $(top_srcdir)/libevent/*.h - (cd $(top_builddir)/libevent && $(MAKE) CFLAGS=-Wno-deprecated-declarations) + (cd $(top_builddir)/libevent && $(MAKE) CFLAGS="$${CFLAGS} -Wno-deprecated-declarations") endif ## systemd service file