python3: strip -ffile-prefix-map too

This commit is contained in:
Đoàn Trần Công Danh 2022-11-07 16:26:46 +07:00 committed by Đoàn Trần Công Danh
parent 3dcac23aff
commit e0a6476307

View file

@ -123,6 +123,7 @@ do_install() {
${DESTDIR}/usr/bin/python${version%.*}-config
fi
sed -i -e "s,-fdebug-prefix-map=[^[:space:]]*=[.],," \
-e "s,-ffile-prefix-map=[^[:space:]]*=[.],," \
-e "s,-I./External,," \
${DESTDIR}/usr/bin/python${version%.*}-config \
${DESTDIR}/usr/lib/python${version%.*}/_sysconfigdata_*_*.py \