Re: optional -fstack-protector

From: Laurent Bercot <>
Date: Thu, 05 Oct 2017 15:29:17 +0000

>Hm, that is a problem indeed. The goal is always for the user CFLAGS to
>override the automatic CFLAGS. I'm going to fix that.

  Actually, things are working as intended. The contents of the CPPFLAGS,
CFLAGS and LDFLAGS *environment variables* do not override the defaults
in the Makefile. However, when CPPFLAGS/CFLAGS/LDFLAGS is used as a
*make variable* ("make CFLAGS=-fstack-protector=yes"), then it does
override the defaults.
  If you want the environment variables to also override the defaults,
you can run "make -e".

  I should still modify the Makefile to make it easier to override
CFLAGS and friends without having to manually redefine the -I and -L

Received on Thu Oct 05 2017 - 15:29:17 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC