From ebd99620cbe9bb9c0daa67f30652a0bfac93f992 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastien=20Roucari=C3=A8s?= Date: Sun, 1 Jul 2018 16:37:11 +0200 Subject: Pass hardening flags Forwarded: yes, mail --- Makefile.PL | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/Makefile.PL +++ b/Makefile.PL @@ -189,8 +189,8 @@ }, }, 'LIBS' => $libs, # e.g., '-lm' - 'DEFINE' => $def, # e.g., '-DHAVE_SOMETHING' - 'OPTIMIZE' => '-g -ggdb', + 'DEFINE' => "$ENV{CPPFLAGS} $def", # e.g., '-DHAVE_SOMETHING' + 'OPTIMIZE' => "$ENV{OPTIMIZE}", # Insert -I. if you add *.h files later: 'INC' => $inc, # e.g., '-I/usr/include/other' # Un-comment this if you add C files to link with later: