Usually, ./configure reads these values from the environment and
stores them into the generated Makefile, allowing override in both
./configure then Make command lines. A patch copying this has once
been refused, so this commit attempts to be less intrusive. It only
modifies GNAT projects.
CFLAGS and similar take precedence over the default (-O0).
LDFLAGS comes before libraries that they affect (--as-needed).
Usually, ./configure reads these values from the environment and stores them into the generated Makefile, allowing override in both ./configure then Make command lines. A patch copying this has once been refused, so this commit attempts to be less intrusive. It only modifies GNAT projects.
CFLAGS and similar take precedence over the default (-O0).
LDFLAGS comes before libraries that they affect (--as-needed).