gprolog: needs -fcommon for gcc10
[ci skip]
This commit is contained in:
parent
72c2d6dcf7
commit
8bf18018cd
1 changed files with 6 additions and 0 deletions
|
@ -17,10 +17,16 @@ checksum=bfdcf00e051e0628b4f9af9d6638d4fde6ad793401e58a5619d1cc6105618c7c
|
|||
disable_parallel_build=yes
|
||||
nopie=yes # native asm generated
|
||||
|
||||
CFLAGS="-fcommon"
|
||||
|
||||
case $XBPS_MACHINE in
|
||||
i686*) broken="pl2wam segfaults in _dl_fixup, https://build.voidlinux.org/builders/i686_builder/builds/10260/steps/shell_3/logs/stdio" ;;
|
||||
esac
|
||||
|
||||
post_configure() {
|
||||
vsed -i */Makefile -e "/^CFLAGS\\s*=.*/s/$/ -fcommon/"
|
||||
}
|
||||
|
||||
post_install() {
|
||||
mv ${DESTDIR}/usr/lib/gprolog/{NEWS,README,ChangeLog} \
|
||||
${DESTDIR}/usr/share/doc/gprolog
|
||||
|
|
Loading…
Reference in a new issue