diff --git a/tcsh.spec b/tcsh.spec index befb27d..c0640fe 100644 --- a/tcsh.spec +++ b/tcsh.spec @@ -20,6 +20,16 @@ BuildRequires: gettext-devel BuildRequires: git BuildRequires: ncurses-devel +# GLOBAL MACROS: +# -------------- + +# Some people use tcsh as their login shell, which might be long running. +# Koji should override the compilation flags and add the -fPIC or -fPIE flags by +# default. This is here just in case - for some unexpected resons. +# For more info: https://fedoraproject.org/wiki/Packaging:Guidelines#PIE +%global _hardened_build 1 + +# ============================================================================= # NOTE: 'autosetup' macro (below) uses 'git' for applying the patches: # ->> All the patches should be provided in 'git format-patch' format.