Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I change the compiler or compile-time flags with MaraDNS build process?

0
Posted

How do I change the compiler or compile-time flags with MaraDNS build process?

0

To change the compiler used by MaraDNS: • Run the ./configure script • Open up the file Makefile with an editor • Look for a line that starts with CC • If there is no line that starts with CC, create one just before the line that starts with FLAGS • Change (or create) that line to look something like CC=gcc296 In this example, the 2.96 version of gcc is used to compile MaraDNS. • Note that it is important to not remove anything from this line you do not understand; doing so will make MaraDNS unable to compile or run. So, if the CC line looks like CC=gcc $(LDFLAGS) -DNO_FLOCK and you want to compile with gcc 2.96, change the line to look like CC=gcc296 $(LDFLAGS) -DNO_FLOCK retaining the flags added by the configuration script. Changing compile-time flags is a similar process: • Run the ./configure script • Open up the file Makefile with an editor • Look for a line that starts with FLAGS • Change (or create) that line to look something like FLAGS=-O3 In this example, MaraDNS is compiled

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123