How do I change the compiler or compile-time flags with MaraDNS build process?
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