summaryrefslogtreecommitdiff
path: root/db3/configure
diff options
context:
space:
mode:
Diffstat (limited to 'db3/configure')
-rwxr-xr-xdb3/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/db3/configure b/db3/configure
index b6724ac28..a96fb90d3 100755
--- a/db3/configure
+++ b/db3/configure
@@ -9,7 +9,7 @@ rm -f config.cache
#ln -sf ../dist $db_dist
# XXX edit CFLAGS= ... out of invocation args ???
-ARGS="`echo $* | sed -e 's% [^ ]*CFLAGS=[^ ]*%%' -e 's% -march=[^ ]*%%' -e 's% -mcpu=[^ ]*%%' -e 's%--cache-file=.*$%%'`"
+ARGS="`echo $* | sed -e 's% [^ ]*CFLAGS=[^ ]*%%' -e 's% -[^-][^ ]*%%g' -e 's%--cache-file=.*$%%'`"
CC="$CC" CFLAGS="$CFLAGS" $db_dist/configure $ARGS \
--enable-shared --enable-static --enable-debug --enable-rpc \