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>
(cherry picked from commit 8f7687833e
)
This commit is contained in:
parent
142fd306eb
commit
620838fc91
1 changed files with 3 additions and 0 deletions
|
@ -65,6 +65,9 @@ HOST_CONFIGURE_ARGS += \
|
||||||
--disable-doxygen-html \
|
--disable-doxygen-html \
|
||||||
--disable-doxygen-doc
|
--disable-doxygen-doc
|
||||||
|
|
||||||
|
HOST_CPPFLAGS += \
|
||||||
|
-std=gnu++11
|
||||||
|
|
||||||
# only build the ola_protoc thingy
|
# only build the ola_protoc thingy
|
||||||
define Host/Compile
|
define Host/Compile
|
||||||
cd $(HOST_BUILD_DIR); \
|
cd $(HOST_BUILD_DIR); \
|
||||||
|
|
Loading…
Reference in a new issue