summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2021-07-28 10:02:19 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2021-07-28 10:03:31 +0200
commit6e2749a6f4f82ebd494af319890bf77501834ae4 (patch)
tree4ee832357ce9851401b5d3d625d80b545b1c0eb6
parent0eece96002407edff528437a6d9601989474ca44 (diff)
downloadptxdist-6e2749a6f4f82ebd494af319890bf77501834ae4.tar.gz
ptxdist-6e2749a6f4f82ebd494af319890bf77501834ae4.tar.xz
avahi: add necessary CXXFLAGS
- set -D_FILE_OFFSET_BITS=64 for C++ as well - default to -std=c++11. Needed to build the Qt5 bindings with old compilers Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/avahi.make3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/avahi.make b/rules/avahi.make
index 84067d8b6..d8d763909 100644
--- a/rules/avahi.make
+++ b/rules/avahi.make
@@ -88,7 +88,8 @@ AVAHI_CONF_OPT := \
# warning: libavahi-glib.so.1, needed by ./.libs/libavahi-ui-gtk3.so, not found (try using -rpath or -rpath-link)
AVAHI_LDFLAGS := -Wl,-rpath-link,$(AVAHI_DIR)/avahi-glib/.libs/
-AVAHI_CFLAGS:= -D_FILE_OFFSET_BITS=64
+AVAHI_CFLAGS := -D_FILE_OFFSET_BITS=64
+AVAHI_CXXFLAGS := -D_FILE_OFFSET_BITS=64 -std=c++11
# ----------------------------------------------------------------------------
# Target-Install