vp-build/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
gccspecs env/hardening: fix hardening on MIPS. 2016-04-27 15:01:40 +02:00
.empty common/environment: create dummy files for all dirs to not remove them. 2014-02-11 18:22:46 +01:00
bootstrap.sh
cross.sh
gnu-configure-args.sh
hardening.sh env/hardening: fix hardening on MIPS. 2016-04-27 15:01:40 +02:00
pkg-config.sh environment/pkg-config: unset PKG_CONFIG; find it via PATH instead. 2014-09-28 08:01:18 +02:00