Browse Source

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>
lilik-openwrt-22.03
Rosen Penev 4 years ago
parent
commit
8f7687833e
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      net/ola/Makefile

+ 3
- 0
net/ola/Makefile 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)


Loading…
Cancel
Save