diff options
| author | Khem Raj <raj.khem@gmail.com> | 2023-01-17 23:35:20 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2023-01-21 10:02:02 -0800 |
| commit | efe65221048c948e112259870536120fd6a21691 (patch) | |
| tree | 8d352080df5516b03ab4dca4c3c80f9e4cb7bf7d /meta-oe/recipes-support/gengetopt | |
| parent | 1ccdb819590c69335e5d7a5afbf797bd2e7f7629 (diff) | |
| download | meta-openembedded-efe65221048c948e112259870536120fd6a21691.tar.gz | |
gengetopt: Use std=c++14
It needs std::unary_operator which is gone in c++17, until it is forward
ported to work with c++17, pin to c++14
../../gengetopt-2.23/src/gm_utils.h:132:35: error: no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'?
| struct pair_print_f : public std::unary_function<T, void>
| ~~~~~^~~~~~~~~~~~~~
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/gengetopt')
| -rw-r--r-- | meta-oe/recipes-support/gengetopt/gengetopt_2.23.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-support/gengetopt/gengetopt_2.23.bb b/meta-oe/recipes-support/gengetopt/gengetopt_2.23.bb index 52c1016335..4d97b1a419 100644 --- a/meta-oe/recipes-support/gengetopt/gengetopt_2.23.bb +++ b/meta-oe/recipes-support/gengetopt/gengetopt_2.23.bb | |||
| @@ -13,4 +13,6 @@ SRC_URI[sha256sum] = "b941aec9011864978dd7fdeb052b1943535824169d2aa2b0e7eae9ab80 | |||
| 13 | 13 | ||
| 14 | inherit autotools texinfo | 14 | inherit autotools texinfo |
| 15 | 15 | ||
| 16 | CXXFLAGS += "-std=c++14" | ||
| 17 | |||
| 16 | BBCLASSEXTEND = "native nativesdk" | 18 | BBCLASSEXTEND = "native nativesdk" |
