pcc-libs: use pcc to compile.
Else gcc "mis"compiles crtbegin.o and constructor code ends up in a non-executable segment. Closes #27149.
This commit is contained in:
parent
1af151b2b2
commit
e5f0e951d4
1 changed files with 2 additions and 5 deletions
|
@ -7,7 +7,8 @@ revision=1
|
||||||
archs="i686* x86_64*"
|
archs="i686* x86_64*"
|
||||||
wrksrc=${pkgname}-${_distver}.BETA
|
wrksrc=${pkgname}-${_distver}.BETA
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
hostmakedepends="flex"
|
configure_args="CC=pcc"
|
||||||
|
hostmakedepends="flex pcc"
|
||||||
short_desc="Portable C Compiler - Support Libraries"
|
short_desc="Portable C Compiler - Support Libraries"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
license="BSD-2-Clause"
|
license="BSD-2-Clause"
|
||||||
|
@ -17,10 +18,6 @@ checksum=e810aa4d6683e769f490f734b13a296b33c2511ddba646bc526eb85532f1a23a
|
||||||
nodebug=1
|
nodebug=1
|
||||||
nocross=1
|
nocross=1
|
||||||
|
|
||||||
if [ "$XBPS_TARGET_LIBC" = glibc ]; then
|
|
||||||
broken="Binaries generated by pcc segfault when launched"
|
|
||||||
fi
|
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
sed -n '2,25p' libpcc/cxmuldiv.c > LICENSE
|
sed -n '2,25p' libpcc/cxmuldiv.c > LICENSE
|
||||||
vlicense LICENSE
|
vlicense LICENSE
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue