Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

nginx custom module thread local ctx

$
0
0
Hi!

I develop some module for nginx and need to use c++ source files in it.

I found the way to compile it (extern c + compiler recognize .cpp files), but know i need to specify some flags.

Could you suggest a method to tell build system which compiler (CXX) and which flags to use in module/config file?

I saw in Makefile that it use $(CC) despite of there is unused definition of $(CPP) which is actually preprocessor and no CXXFLAFS /CPPFLAGS.

I will greatly appreciate your help.

I could сorrect Makefile myself but it get's irrating with each reconfigure.

--
BR, Ruslan Mullakhmetov


_______________________________________________
nginx-devel mailing list
nginx-devel@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-devel

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>