diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-09-20 16:23:37 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-09-20 16:24:04 +0200 |
commit | 96a2bfae973b0fa321528c5977f33287ae053b31 (patch) | |
tree | b99de53064890f901cf48e335d5a14bf74fd3513 /adk | |
parent | 643e5d94ee0e3def43e7c0f984b51801f8336cc6 (diff) |
libsndfile: needs c++, autoselect c++ toolchain option
Diffstat (limited to 'adk')
-rw-r--r-- | adk/tools/pkgmaker.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/adk/tools/pkgmaker.c b/adk/tools/pkgmaker.c index e21f31ef5..81d33d13d 100644 --- a/adk/tools/pkgmaker.c +++ b/adk/tools/pkgmaker.c @@ -893,8 +893,10 @@ int main() { fprintf(cfg, "\tselect ADK_PACKAGE_LIBPTHREAD\n"); if (strncmp(token, "rt", 2) == 0) fprintf(cfg, "\tselect ADK_PACKAGE_LIBRT\n"); - if (strncmp(token, "c++", 3) == 0) + if (strncmp(token, "c++", 3) == 0) { + fprintf(cfg, "\tselect ADK_TOOLCHAIN_WITH_CXX\n"); fprintf(cfg, "\tselect ADK_PACKAGE_LIBSTDCXX\n"); + } if (strncmp(token, "mmu", 3) == 0) fprintf(cfg, "\tdepends on ADK_TARGET_WITH_MMU\n"); token = strtok(NULL, " "); |