polachok/echinus — pull request #1 by Xarthisius (2011-11-06 12:42:10+00:00)
Title: Tweaks to build system

Summary of changes:
* respect user flags i.e. CC, {C,LD,CPP}FLAGS
* sort flags so that they're passed in standard way, i.e. defines -> CPPFLAGS, -L -l -> LIBS
* fix linking order [1]
* use 'install' instead of combination of cp,mkdir
* make xrandr an optional dependency that can be chosen during build via MULTIHEAD=1
* disable silent rules during build and install phases (that gives meaningful logs when user submit bugs), previous behaviour can be enables by passing -s to make
* don't strip binaries by default
* set default install paths to LHS standard

[1] http://www.gentoo.org/proj/en/qa/asneeded.xml