Commit Graph

11 Commits

Author SHA1 Message Date
Jürgen Buchmüller
272114cd05 xbps-src: trying to fix FFLAGS construction
This still isn't perfect. When the common/xbps-src/shutils/chroot.sh
function chroot_init() is called, the value for $XBPS_FFLAGS, which is
defined in common/build-profiles/bootstrap.sh, is empty.

Put the immediate value into the generated /etc/xbps/xbps-src.conf
file until someone finds out where passing the value of $XBPS_FFLAGS
throughout the scripts is missing.
2017-03-08 17:36:22 +01:00
Juan RP
b722ed3c8b cross-profiles: simplify and rename some of them to match XBPS_TARGET_MACHINE.
- XBPS_TARGET_ARCH var renamed to XBPS_TARGET_MACHINE (gets rid of an extra var).
- Renamed cross profiles to match XBPS_TARGET_MACHINE.
- Added symlinks to keep compatibility with old profiles.
2016-04-27 16:47:05 +02:00
Juan RP
14931d5ab2 cross-profiles/i686-musl: use defaults.
To disable hardening features this file should not be used.
2015-12-12 07:48:59 +01:00
Juan RP
3cb08dd17b cross-profiles/i686-musl: also disable _FORTIFY_SOURCE. 2015-03-06 10:33:53 +01:00
Juan RP
020fa3827f cross-profiles/i686-musl: force disable SSP.
whrlpool/.libs/libcrypto_la-wp_block.o: In function `whirlpool_block':
/builddir/libressl-2.1.4/crypto/whrlpool/wp_block.c:634: undefined reference to `__stack_chk_fail_local'
2015-03-06 10:31:09 +01:00
Juan RP
ee5d8644be cross-profiles/i686-musl: disable SSP completely. 2015-03-06 10:29:40 +01:00
Juan RP
3774e0e061 cross-profile: i686-musl: disable fstack-protector-strong for now.
crc32.lo: In function `crc32_combine_':
crc32.c:(.text+0x1d1): undefined reference to `__stack_chk_fail_local'
2015-03-06 10:28:26 +01: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
5352c7a007 cross-i686-linux-musl: update components, enable -fstack-protector-strong.
- updated binutils to 2.25
- updated gcc to 4.9.2
- updated musl to 1.1.6
- updated linux headers to 3.18.5
2015-02-03 17:50:28 +01:00
Juan RP
ed5f1a9273 cross-profiles/*-musl.sh: use a different XBPS_TARGET_ARCH so that pkgs don't conflict with glibc ones. 2014-01-07 18:32:38 +01:00
Juan RP
074bb4d726 Added build_style and cross-profiles dirs from xbps-src. 2014-01-07 17:29:49 +01:00