void-packages/common/build-profiles
q66 29255b0244 build-profiles: drop unnecessary cflags for ppc
we don't need to specify -mcpu where compiler default is used,
preserve mtune though; do not -mno-altivec on ppc since altivec
is not default in the first place and doing this will just
break random things that explicitly enable altivec for runtime
checked code; do not use -maltivec on either ppc64le or ppc64
since it's implied by their -mcpu's (power8 for ppc64le which
is implicit, and 970 for ppc64 which is explicit)

also remove -mlong-double-64 for musl targets as that's compiler
default and it's not necessary to pass it; also remove -mabi=elfv2
for both ppc64le and ppc64 since it's implied default
2020-12-06 05:51:31 +01:00
..
aarch64-musl.sh common: fix XBPS_{,TARGET_}{ENDIAN,LIBC,WORDSIZE} 2019-08-03 23:09:49 +02:00
aarch64.sh common: fix XBPS_{,TARGET_}{ENDIAN,LIBC,WORDSIZE} 2019-08-03 23:09:49 +02:00
armv6l-musl.sh common: fix XBPS_{,TARGET_}{ENDIAN,LIBC,WORDSIZE} 2019-08-03 23:09:49 +02:00
armv6l.sh common: fix XBPS_{,TARGET_}{ENDIAN,LIBC,WORDSIZE} 2019-08-03 23:09:49 +02:00
armv7l-musl.sh common: fix XBPS_{,TARGET_}{ENDIAN,LIBC,WORDSIZE} 2019-08-03 23:09:49 +02:00
armv7l.sh common: fix XBPS_{,TARGET_}{ENDIAN,LIBC,WORDSIZE} 2019-08-03 23:09:49 +02:00
bootstrap.sh
i686-musl.sh common: fix XBPS_{,TARGET_}{ENDIAN,LIBC,WORDSIZE} 2019-08-03 23:09:49 +02:00
i686.sh common: fix XBPS_{,TARGET_}{ENDIAN,LIBC,WORDSIZE} 2019-08-03 23:09:49 +02:00
ppc-musl.sh build-profiles: drop unnecessary cflags for ppc 2020-12-06 05:51:31 +01:00
ppc.sh build-profiles: drop unnecessary cflags for ppc 2020-12-06 05:51:31 +01:00
ppc64-musl.sh build-profiles: drop unnecessary cflags for ppc 2020-12-06 05:51:31 +01:00
ppc64.sh build-profiles: drop unnecessary cflags for ppc 2020-12-06 05:51:31 +01:00
ppc64le-musl.sh build-profiles: drop unnecessary cflags for ppc 2020-12-06 05:51:31 +01:00
ppc64le.sh build-profiles: drop unnecessary cflags for ppc 2020-12-06 05:51:31 +01:00
README
x86_64-musl.sh common: fix XBPS_{,TARGET_}{ENDIAN,LIBC,WORDSIZE} 2019-08-03 23:09:49 +02:00
x86_64.sh common: fix XBPS_{,TARGET_}{ENDIAN,LIBC,WORDSIZE} 2019-08-03 23:09:49 +02:00

BUILD PROFILES
==============

This directory contains build profiles to set properties on native builds
for a specific architecture:

	- XBPS_TRIPLET		(the compiler triplet)
	- XBPS_CFLAGS		(C compiler flags for host compiler)
	- XBPS_CXXFLAGS		(C++ compiler flags for the host compiler)
	- XBPS_FFLAGS		(Fortran compiler flags for the host compiler)
	- XBPS_RUST_TARGET	(the compiler triplet for usage by cargo)

These properties are also set in a cross environment, but the compiler
flags are not added into the global flags. XBPS_RUST_TARGET is also
exposed as RUST_BUILD instead of RUST_TARGET.