Skip to content

Revise CXXFLAGS with SSL libs, and other build recipe nuances#3363

Open
jimklimov wants to merge 19 commits intonetworkupstools:masterfrom
jimklimov:cpp-ssl
Open

Revise CXXFLAGS with SSL libs, and other build recipe nuances#3363
jimklimov wants to merge 19 commits intonetworkupstools:masterfrom
jimklimov:cpp-ssl

Conversation

@jimklimov
Copy link
Member

@jimklimov jimklimov commented Mar 22, 2026

Not only Termux, but also MSYS2 hiccups with at least OpenSSL builds with C++ (pkgconfig-provided CFLAGS involve -isystem which breaks loose with #include_next in C++ versions of headers).

This PR follows up from recent work in #3353 for issues #1599/#1711, to handle this more diligently and generally (to the point of not trying to build and test SSL ability in C++ libnutclient if we determine at configure time that we can not reliably build it).

Also brings in some parallel build/check recipe fixes to follow up from #2871 and small docs patches per #3356 discussion.

…#3353]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…#3356]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…IBSSL_CXXFLAGS [networkupstools#1711, networkupstools#1599]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…lients/Makefile.am, tests/Makefile.am: introduce separate automake condition and macro WITH_SSL_CXX [networkupstools#1599, networkupstools#1711]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
@jimklimov jimklimov added this to the 2.8.5 milestone Mar 22, 2026
@jimklimov jimklimov added enhancement documentation C++ CI Entries related to continuous integration infrastructure (here CI = tools + scripts + recipes) SSL/NSS Issues and PRs about SSL, TLS and other crypto-related matters labels Mar 22, 2026
@AppVeyorBot
Copy link

…ls#1599]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
… building without SSL_CXX [networkupstools#1599]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
@jimklimov jimklimov added this to NUT QA Mar 22, 2026
@AppVeyorBot
Copy link

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…ECK_SRC_DEFAULT and comment why they may not be the first checked anyway [networkupstools#2871]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…SRC values [networkupstools#2871]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…S_FIRST (if present) even before parallel rules [networkupstools#2871]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…tent and easier for troubleshooting [networkupstools#2871, networkupstools#3039]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…networkupstools#3039]

* Goal for "generated-headers-with-a-touch" stepped on "all" done as part of "check".
* Not using `+` prefix in that goal was not right too.
* Made cleanup dependencies separate for all/check/install recursive rules.

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
…device [networkupstools#3356]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
@AppVeyorBot
Copy link

…enerated headers to generated linkman*.txt snippets, to avoid re-evaluating them verbosely in parallel/recursive builds [networkupstools#2871]

Signed-off-by: Jim Klimov <jimklimov+nut@gmail.com>
@jimklimov jimklimov moved this to In Progress in NUT QA Mar 23, 2026
@jimklimov jimklimov changed the title Revise CXXFLAGS with SSL libs Revise CXXFLAGS with SSL libs, and other build recipe nuances Mar 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C++ CI Entries related to continuous integration infrastructure (here CI = tools + scripts + recipes) documentation enhancement SSL/NSS Issues and PRs about SSL, TLS and other crypto-related matters

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants