Fix builds with --param in CFLAGS

This commit is contained in:
Paul Nasrat 2005-08-26 21:35:18 +00:00
parent 5d7ac972f5
commit 1fea5606cc
1 changed files with 11 additions and 0 deletions

11
rpm-4.4.2-db3-param.patch Normal file
View File

@ -0,0 +1,11 @@
--- rpm-4.4.2/db3/configure.param 2003-12-27 11:02:18.000000000 -0500
+++ rpm-4.4.2/db3/configure 2005-08-26 10:08:48.000000000 -0400
@@ -8,7 +8,7 @@
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 \