Re: CLANG and -fstack-protector

From: Eitan Adler <lists_at_eitanadler.com>
Date: Thu, 7 Feb 2013 22:00:33 -0500
On 7 February 2013 18:40, Kimmo Paasiala <kpaasial_at_gmail.com> wrote:
>> Ports are largely independent of the base system, and their compilation
>> flags are different from port to port.  You could set -fstack-protector
>> for your ports in either make.conf or ports.conf, if you wanted.
>
> Is there any work being done to provide an optional Makefile knob
> (WITH_STACK_PROTECTOR ?) to turn on -fstack-protector for ports that
> install network services (or other critical code)? I'd bet such
> feature would be popular.

As far as I am aware no such feature exists.  In any case it would be
subject to the same problem of many ports ignoring CFLAGS and friends.


-- 
Eitan Adler
Received on Fri Feb 08 2013 - 02:01:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC