Welcome! Log In Create A New Profile


Dynamic Modules - Support CXXFLAGS

Patrik Mada
February 28, 2020 04:16AM
Dear NGINX developers,

we are using C++ dynamic modules in our NGINX based servers, while multiple Debian distributions have to be supported.
On older Debian distributions it is impossible to use more recent C++ standard, due to build defaulting to system provided clang package.

Our developers stood before decision to either create wrappers around modern C++ libraries which would be compliant with older standards or write the entire logic using obsolete featureless language.
Neither of these approaches is sustainable in terms of developers' productivity and long term maintenance.

Would it be possible to consider a change in dynamic modules' build system, so that C++ flags may be provided?
We propose a low intrusive changes concerning 3 files. The changes are backwards compatible: if CXX is not provided by an user, the build uses CC instead (as well as CFLAGS instead of CXXFLAGS).

Would you be so kind and share your opinion on those? Please find attachment provided bellow (the patch was created using Quilt).

Best Regards,
Patrik Mada

Je dobré vědět, že tento e-mail a přílohy jsou důvěrné. Pokud spolu jednáme o uzavření obchodu, vyhrazujeme si právo naše jednání kdykoli ukončit. Pro fanoušky právní mluvy - vylučujeme tím ustanovení občanského zákoníku o předsmluvní odpovědnosti. Pravidla o tom, kdo u nás a jak vystupuje za společnost a kdo může co a jak podepsat naleznete zdehttps://onas.seznam.cz/cz/podpisovy-rad-cz.html

You should know that this e-mail and its attachments are confidential. If we are negotiating on the conclusion of a transaction, we reserve the right to terminate the negotiations at any time. For fans of legalese—we hereby exclude the provisions of the Civil Code on pre-contractual liability. The rules about who and how may act for the company and what are the signing procedures can be found herehttps://onas.seznam.cz/cz/podpisovy-rad-cz.html.
nginx-devel mailing list
Subject Author Views Posted

Dynamic Modules - Support CXXFLAGS Attachments

Patrik Mada 112 February 28, 2020 04:16AM

Re: Dynamic Modules - Support CXXFLAGS

Maxim Dounin 27 March 04, 2020 11:32AM

Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 99
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready