Skip to content

Commit

Permalink
Suppress fortification in RPM builds
Browse files Browse the repository at this point in the history
  • Loading branch information
cottsay authored and nuclearsandwich committed Feb 12, 2022
1 parent 3f93491 commit bdd8053
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions rpm/template.spec.em
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ Source0: %{name}-%{version}.tar.gz
%autosetup -p1

%build
# Suppress fortification, which conflicts with Mimick's -O0 requirement
export CFLAGS="${CFLAGS:-%{optflags}} -Wp,-U_FORTIFY_SOURCE"

# In case we're installing to a non-standard location, look for a setup.sh
# in the install tree and source it. It will set things like
# CMAKE_PREFIX_PATH, PKG_CONFIG_PATH, and PYTHONPATH.
Expand Down

0 comments on commit bdd8053

Please sign in to comment.