|Version 6 (modified by 3 years ago) ( diff ),|
With 2.47 DESTDIR installs only work if DESTDIR=/some/where has been exported before make install is invoked, otherwise (make DESTDIR=/some/where install) after a few seconds it will complain there is no rule to make target DESTDIR=/some/where. This seems to have been fixed in 2.49.
CFLAGS and CXXFLAGS
If these are set in the environment, configure picks them up. If not, it defaults CFLAGS to '-g -O3' (-O3 in modern gcc is not especially firendly to debugging) and does not strip the binary. You may prefer to set your own CFLAGS. More importantly, if CXXFLAGS is not set, in 2.49 that gets set to -std=c++11. If you do set your own CFLAGS, you might want to ensure that version is added for this package.