The version printed by GCC's -dumpversion option may only be a single
number (the major version). Therefore use the -dumpfullversion option which
guarantees to print the three numbers format 'major.minor.patchlevel'.
Signed-off-by: Christoph Niethammer <niethammer@hlrs.de>
- Don't use -j2 make option by default, may break some non-conforming source builts
- Fix a few buglets (like LOGDIR , and when packages are NOT configure-based, aka
do not create a config.log file)