rpm/auto-config-update-riscv64.diff

11 lines
585 B
Diff
Raw Normal View History

--- ./build/parseBuildInstallClean.c.orig 2018-02-22 10:11:50.088160024 +0000
+++ ./build/parseBuildInstallClean.c 2018-02-22 10:11:37.592198130 +0000
@@ -55,6 +55,7 @@ int parseBuildInstallClean(rpmSpec spec,
" grep -q config-patches@ $c || continue\n"
" grep -q aarch64 $c || install -m 755 $ref/config.$s $c\n"
" grep -q ppc64le $c || install -m 755 $ref/config.$s $c\n"
+ " grep -q 'riscv64[-:]' $c || install -m 755 $ref/config.$s $c\n"
" done\n"
"done\n"
);