Re: [gentoo-dev] [PATCH 01/05] toolchain-funcs.eclass: Add functions for detection of PIE / SSP in way compatible with GCC >=6.

2017-06-15 Thread Matthias Maier
> [[ ${ret} == true ]] > > Would be the canonical bash way. Updated.

Re: [gentoo-dev] [PATCH 01/05] toolchain-funcs.eclass: Add functions for detection of PIE / SSP in way compatible with GCC >=6.

2017-06-15 Thread Michał Górny
Dnia 15 czerwca 2017 15:45:10 CEST, Matthias Maier napisał(a): >From: Arfrever Frehtes Taifersar Arahesis > >Newly added tc-enables-pie(), tc-enables-ssp(), tc-enables-ssp-strong() >and tc-enables-ssp-all() check macros instead of specs. >This solution

[gentoo-dev] [PATCH 01/05] toolchain-funcs.eclass: Add functions for detection of PIE / SSP in way compatible with GCC >=6.

2017-06-15 Thread Matthias Maier
From: Arfrever Frehtes Taifersar Arahesis Newly added tc-enables-pie(), tc-enables-ssp(), tc-enables-ssp-strong() and tc-enables-ssp-all() check macros instead of specs. This solution also works with older GCC and with Clang. Signed-off-by: Matthias Maier