specfile: Use the hardened build explicitly (-fPIC / -fPIE)
This commit is contained in:
parent
4a1d3e4302
commit
3708fff091
10
tcsh.spec
10
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.
|
||||
|
Loading…
Reference in New Issue
Block a user