Commit graph

11 commits

Author SHA1 Message Date
Juan RP
c25f4da501 common/build-profiles/i686-musl.sh: XBPS_HOST_TRIPLET -> XBPS_TRIPLET. 2015-04-22 10:40:49 +02:00
Christian Neukirchen
71fe1e30ff common/*-profiles/aarch64-musl.sh: add AArch64/ARMv8 musl profiles. 2015-03-30 18:33:43 +02:00
Christian Neukirchen
25bb572dbe common/*-profiles/aarch64.sh: add AArch64/ARMv8 glibc cross profile. 2015-03-30 18:33:43 +02:00
Juan RP
50a116d27a xbps-src: set default compiler/preprocessor/linker flags via etc/conf.
Rather than setting them in the build profile, just set them in
etc/defaults.conf (overridable via etc/conf) to simplify the code.

- Also enable _FORTIFY_SOURCE=2 in CPPFLAGS.
- Also enable -z,relro in LDFLAGS.

As suggested by @chneukirchen.
2015-03-04 15:18:46 +01:00
Juan RP
724426f8e7 common/build-profiles: added a minimal README. 2015-02-21 12:07:23 +01:00
Juan RP
2f9f85e3f5 build-profiles: *-musl: enable -fstack-protector-strong. 2015-02-07 11:37:44 +01:00
Juan RP
897b504d6b xbps-src: use bootstrap build-profile for the bootstrap target.
... otherwise the proper compiler flags are being used in the chroot case.
2014-12-24 09:55:29 +01:00
Juan RP
03d56c4b9c build-profiles: force -mtune=generic on native x86_64. 2014-11-22 19:17:45 +01:00
Juan RP
17ea528f46 common/build-profiles/armv7l-musl.sh: gnueabihf -> musleabi. 2014-11-11 22:27:35 +01:00
Juan RP
9a168e4463 xbps-src: introduce XBPS_TRIPLET and set it in the build-profiles.
This is for cases where host does not match build environment (x86_64 building for x86).
So we just force build/host triplet in native builds.
2014-11-11 22:24:40 +01:00
Juan RP
c2bd01c8d3 xbps-src: introduce build profiles and use it by default.
common/build-profiles contains the compilation flags used in native
builds, and are defined per architecture:

	- x86_64 (glibc)
	- x86_64-musl (musl)

If XBPS_CFLAGS or XBPS_CXXFLAGS are set in `etc/conf`, the settings
from the build profile will be overrided.
2014-11-10 11:17:34 +01:00