diff --git a/README b/README index 5e357136852a7292042ba04b3222d485a963fa22..471679bb8ffe7133ca906a1b697c0fabe63142fa 100644 --- a/README +++ b/README @@ -317,7 +317,7 @@ ALBERTA_DEBUG_CFLAGS FFLAGS before you run configure. You can also set these variables on the -command-line of the configure or the make program, e.g. with a recent +command-line of the "configure" or the "make" program, e.g. with a recent gcc on a Pentium 4 you could use configure ALBERTA_OPTIMISE_CFLAGS="-O3 -march=pentium4 -mfpmath=sse" @@ -329,13 +329,14 @@ make ALBERTA_OPTIMISE_CFLAGS="-O3 -march=pentium4 -mfpmath=sse" You have to consult the documentation for the compiler(s) you are using to determine the appropriate switches for your setup. -NOTE: if you use the CFLAGS-variable, then it's value will be appended +NOTE: if you use the CFLAGS-variable, then it's value will be prepended to the compiler flags at built-time. So using e.g. make CFLAGS="-O3 -funroll-all-loops -g0" ALBERT_DEBUG_CFLAGS="-ggdb" -will result in '-ggdb -O3 -funroll-all-loops -g0' for the -debug-enabled libraries which is probably not what you want. +will result in '-O3 -funroll-all-loops -g0 -ggdb' for the +debug-enabled libraries. This might not be quite the thing you were +aiming at. You still can use CFLAGS to set compiler flags used for both, optimising and debug-enabled objects.