void-packages/common/environment/configure
Juan RP 882f23cf98 env/hardening: fix hardening on MIPS.
Thanks to @chneukirchen for finding the correct solution:

gcc sets -mno-shared by default when compiling non-PIC, and because
we are overriding the builtin specs, this internal rule set for gnu/mips
does not trigger:

gcc/config/mips/gnu-user.h:/* Default to -mno-shared for non-PIC.  */
gcc/config/mips/gnu-user.h:  " %{mshared|mno-shared|fpic|fPIC|fpie|fPIE:;:-mno-shared}"

So that we now use a specific specs file just for mips that sets -mshared for PIC.

This fixes building packages with hardening enabled for MIPS.
2016-04-27 15:01:40 +02:00
..
autoconf_cache time: unbreak cross musl; set _GNU_SOURCE and override wait3 test. 2015-10-28 17:12:38 +01:00
gccspecs env/hardening: fix hardening on MIPS. 2016-04-27 15:01:40 +02:00
.empty
bootstrap.sh environment/configure/bootstrap.sh: use -isystem and -rpath-link during bootstrap. 2015-06-05 11:06:31 +02:00
cross.sh xbps-src: set up C{,XX}FLAGS and LDFLAGS correctly for cross compilation. 2015-10-17 11:05:21 +02:00
gnu-configure-args.sh configure/gnu-configure-args.sh: match mipsel-musl. 2015-11-27 18:29:19 +01:00
hardening.sh env/hardening: fix hardening on MIPS. 2016-04-27 15:01:40 +02:00
pkg-config.sh