Does this help any?
Basic *nix build instructions:
To actually build:
./autogen.sh # only needed if building from git repo
CFLAGS="-O2 -Wall -march=native" ./configure
No installation is necessary. You may run cgminer from the build
directory directly.