From c6481f0da3590f743e0e948e2dfe202140057225 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwenol=C3=A9=20Beauchesne?= Date: Fri, 1 Dec 2006 14:34:15 +0000 Subject: match optflags ARCH exactly (aka fix regexp to match word boundary) --- make_macrosfiles.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make_macrosfiles.sh.in b/make_macrosfiles.sh.in index 0aba7e0..7955fd3 100644 --- a/make_macrosfiles.sh.in +++ b/make_macrosfiles.sh.in @@ -7,7 +7,7 @@ ARCH="$2" LIB=lib OS=@RPMOS@ -OPTFLAGS=`perl -ane "m/^optflags:\s*${ARCH}\s*(.*)/ and print \\$1" < rpmrc` +OPTFLAGS=`perl -ane "m/^optflags:\s*${ARCH}\b\s*(.*)/ and print \\$1" < rpmrc` MULTILIBNO= case $ARCH in -- cgit v1.2.1