Commit graph

68 commits

Author SHA1 Message Date
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
ccc4b79acf cross-x86_64-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:33:03 +01:00
Juan RP
52b35693d4 cross-arm-linux-musleabi: update components.
- binutils updated to 2.25
- gcc updated to 4.9.2
- musl updated to 1.1.6
- kernel headers updated to 3.18.5

Also enable -fstack-protector-strong by default in the armv[67]hf-musl
cross profiles.
2015-02-02 22:18:19 +01:00
Juan RP
2f3537525a cross-profiles/armv7hf.sh: switch to the arm-linux-gnueabihf7 cross compiler. 2014-09-07 09:06:53 +02:00
Juan RP
a5b8b3052b cross-profiles/armv7hf: switch to the armv7l-linux-gnueabihf cross compiler again.
glibc uses the cross compiler preprocessor to know what architecture
to compile for, resulting in wrong architecture being used with the armv6
cross compiler.
2014-09-07 01:21:01 +02:00
Juan RP
8fc5850fd4 cross-profiles/armv7hf: use the arm-linux-gnueabihf cross compiler.
There's no reason to use the gnueabihf7 variant, because the only difference
are the CFLAGS to build it. Use the gnueabihf one (used by Rpi too).
2014-08-21 16:56:03 +02:00
Juan RP
bb7da9658d cross-profiles: enable -fstack-protector-strong for armv[67]hf profiles. 2014-05-16 08:30:07 +02:00
Enno Boland
108c393cda common/cross-profiles: rename profile armv5 to armv5te 2014-03-16 10:02:19 +01:00
Enno Boland
eb00d0f082 common/cross-profiles: adding support for armv5 2014-03-16 09:51:18 +01:00
Juan RP
1ce9d7e4c1 Rename armv7 cross profile to armv7hf, so that we know it's targetting hf. 2014-03-01 09:51:09 +01:00
Juan RP
4a716cd999 New cross profile: armv7hf-musl. 2014-03-01 09:50:24 +01:00
Juan RP
fbb7da4772 common/cross-profiles: add a simple README. 2014-01-28 12:07:13 +01:00
Juan RP
7ceca394c5 cross-profiles/armv7.sh: use cross-arm-linux-gnueabihf7 pkg. 2014-01-18 10:04:41 +01:00
Juan RP
cae309971c cross-profiles/armv7.sh: use valid CROSS_CFLAGS for armv7-a. 2014-01-17 17:57:09 +01:00
Juan RP
f2aca6575f common/cross-profiles: add a script from sabotage to workaround gnulib issues with musl. 2014-01-08 09:52:14 +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