aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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