From 8f7687833ec138af0283d542279b6a287e32e0ba Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sun, 24 May 2020 19:56:00 -0700 Subject: [PATCH] ola: fix compilation with GCC4 The configure script confusingly sets CXXFLAGS to gnu++11 but does not use that to check the important stuff. Fix that. Signed-off-by: Rosen Penev --- net/ola/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/net/ola/Makefile b/net/ola/Makefile index 291b06a357..5e436bac23 100644 --- a/net/ola/Makefile +++ b/net/ola/Makefile @@ -65,6 +65,9 @@ HOST_CONFIGURE_ARGS += \ --disable-doxygen-html \ --disable-doxygen-doc +HOST_CPPFLAGS += \ + -std=gnu++11 + HOST_LDFLAGS += -Wl,-rpath="$(STAGING_DIR_HOSTPKG)/lib" TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lm) -- 2.30.2