summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2009-04-24 21:44:15 +0000
committerAlasdair Kergon <agk@redhat.com>2009-04-24 21:44:15 +0000
commit7f54ef36dcd495ffd87690a3240d9987e7a04ca7 (patch)
tree46f3de3ac41842cd6dfe49e0ed5de6320de61dac /configure
parentbf3423d355ec367d4d0b12ee405955e951fdce76 (diff)
downloadlvm2-7f54ef36dcd495ffd87690a3240d9987e7a04ca7.tar.gz
lvm2-7f54ef36dcd495ffd87690a3240d9987e7a04ca7.tar.xz
lvm2-7f54ef36dcd495ffd87690a3240d9987e7a04ca7.zip
Fix linux configure --enable-debug to exclude -O2.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index dbc92630..6a685829 100755
--- a/configure
+++ b/configure
@@ -2129,6 +2129,7 @@ test -n "$target_alias" &&
case "$host_os" in
linux*)
+ CFLAGS="$CFLAGS"
COPTIMISE_FLAG="-O2"
CLDFLAGS="$CLDFLAGS -Wl,--version-script,.export.sym"
CLDWHOLEARCHIVE="-Wl,-whole-archive"