summaryrefslogtreecommitdiff
path: root/db3
diff options
context:
space:
mode:
authorPaul Nasrat <pnasrat@redhat.com>2007-02-22 12:16:04 +0000
committerPaul Nasrat <pnasrat@redhat.com>2007-02-22 12:16:04 +0000
commit9de7baea6b2b9ade04e12b1e46fb20fa442c0b0a (patch)
tree990f6c6f1db6b5670951358d719ade9dbc763ccb /db3
parentc70602482da17345f54d2faa582e589ebf91c41b (diff)
downloadrpm-9de7baea6b2b9ade04e12b1e46fb20fa442c0b0a.tar.gz
rpm-9de7baea6b2b9ade04e12b1e46fb20fa442c0b0a.tar.bz2
rpm-9de7baea6b2b9ade04e12b1e46fb20fa442c0b0a.zip
This fixes the db build to handle newer CFLAGS which can contain the long
option --param.
Diffstat (limited to 'db3')
-rwxr-xr-xdb3/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/db3/configure b/db3/configure
index 9a7c06b19..012b42328 100755
--- a/db3/configure
+++ b/db3/configure
@@ -8,7 +8,7 @@ db_dist="${base_path}../db/dist"
rm -f config.cache
# XXX edit CFLAGS= ... out of invocation args ???
-ARGS="`echo $* | sed -e 's% [^ ]*CFLAGS=[^ ]*%%' -e 's% -[^-][^ ]*%%g' -e 's%--cache-file=.*$%%'`"
+ARGS="`echo $* | sed -e 's% [^ ]*CFLAGS=[^ ]*%%' -e 's% -[^-][^ ]*%%g' -e 's% --param=[^ ]*%%g' -e 's%--cache-file=.*$%%'`"
CC="$CC" CFLAGS="$CFLAGS" $db_dist/configure $ARGS \
--enable-shared --enable-static --enable-rpc \