aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGwenolé Beauchesne <gbeauchesne@mandriva.org>2006-12-01 14:34:15 +0000
committerGwenolé Beauchesne <gbeauchesne@mandriva.org>2006-12-01 14:34:15 +0000
commitc6481f0da3590f743e0e948e2dfe202140057225 (patch)
tree1febaa8950070445e4592214dc243c60698ae3d8
parent69a3b41cf47709c54dd44efb39f625f2870a8588 (diff)
downloadrpm-setup-c6481f0da3590f743e0e948e2dfe202140057225.tar
rpm-setup-c6481f0da3590f743e0e948e2dfe202140057225.tar.gz
rpm-setup-c6481f0da3590f743e0e948e2dfe202140057225.tar.bz2
rpm-setup-c6481f0da3590f743e0e948e2dfe202140057225.tar.xz
rpm-setup-c6481f0da3590f743e0e948e2dfe202140057225.zip
match optflags ARCH exactly (aka fix regexp to match word boundary)
-rw-r--r--make_macrosfiles.sh.in2
1 files changed, 1 insertions, 1 deletions
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