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 <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2020-05-24 19:56:00 -07:00
parent 54a7b28f01
commit 8f7687833e
No known key found for this signature in database
GPG Key ID: 36D31CFA845F0E3B
1 changed files with 3 additions and 0 deletions

View File

@ -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)