diff options
Diffstat (limited to 'make_macrosfiles.sh.in')
-rw-r--r-- | make_macrosfiles.sh.in | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/make_macrosfiles.sh.in b/make_macrosfiles.sh.in index 12bf942..93fd0be 100644 --- a/make_macrosfiles.sh.in +++ b/make_macrosfiles.sh.in @@ -49,18 +49,22 @@ case $ARCH in CANONARCH=s390x LIB=lib64; MULTILIBNO=2 ;; + *) + CANONARCH=$ARCH + LIB=lib + ;; esac if [ -n "$MULTILIBNO" ]; then MULTILIBSED='-e /^@MULTILIB/d -e s,@MULTILIBNO@,'$MULTILIBNO, else - MULTILIBSED='/^@MULTILIBSTART@/,/^@MULTILIBEND@/d' + MULTILIBSED='-e /^@MULTILIBSTART@/,/^@MULTILIBEND@/d' fi if [ -n "$OPTFLAGS" ]; then OPTFLAGSSED="s/@RPMOPTFLAGS@/${OPTFLAGS}/g" else - OPTFLAGSSED='-e s,^%optflags.*,,' + OPTFLAGSSED='s,^%optflags.*,,' fi cat "$MINPUT" | sed \ |