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:
parent
54a7b28f01
commit
8f7687833e
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
|
||||||
|
|
||||||
HOST_LDFLAGS += -Wl,-rpath="$(STAGING_DIR_HOSTPKG)/lib"
|
HOST_LDFLAGS += -Wl,-rpath="$(STAGING_DIR_HOSTPKG)/lib"
|
||||||
TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lm)
|
TARGET_LDFLAGS += $(if $(CONFIG_USE_GLIBC),-lm)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue