Fix builds with --param in CFLAGS
This commit is contained in:
parent
5d7ac972f5
commit
1fea5606cc
11
rpm-4.4.2-db3-param.patch
Normal file
11
rpm-4.4.2-db3-param.patch
Normal 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 \
|
Loading…
Reference in New Issue
Block a user