antirez/redis — pull request #455 by pietern (2012-04-14 01:11:01+00:00)
Title: Persist Makefile flags (2.6)

A common pattern for building and installing Redis is:

```
$ make 32bit
$ make install PREFIX=/tmp/whatever
```

This is not possible now, as changes in some flags may trigger a rebuild. The rebuild is triggered because a change in ARCH / CFLAGS / LDFLAGS / etc requires dependencies to be updated.

This change persists the flags, so they remain the same across runs. When any of the flags change, everything will be rebuilt.