configure: Restore saved CFLAGS
authorSimon Wilkinson <sxw@your-file-system.com>
Mon, 4 Oct 2010 11:33:24 +0000 (12:33 +0100)
committerDerrick Brashear <shadow@dementia.org>
Mon, 4 Oct 2010 16:07:55 +0000 (09:07 -0700)
commit907521feb1b9c7a6c816866a672c7ab84dac6abd
tree34dd0163bc17b716e00d16b3b98cf6c392e63ea1
parentb1f747c1f131fc1a9f8a5895fb06607a255a27d8
configure: Restore saved CFLAGS

When we test for whether the C compiler can take the
-fno-strength-reduce flag, we add the flag to CFLAGS to do so.
However, we were not restoring the old value of this flag when we
completed the test, and so we were always setting -fno-strength-reduce
in the userspace compile.

Previously, this was harmless, as we always overwrote CFLAGS, but if
we're moving to a world where we honour the user's setting of CFLAGS,
we need to not leak changes in this way.

Change-Id: I029c9fe91132ced34867445afe673761a597ccbe
Reviewed-on: http://gerrit.openafs.org/2894
Tested-by: BuildBot <buildbot@rampaginggeek.com>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
src/cf/linux-test5.m4