diff --git a/ghc-rpm-macros.spec b/ghc-rpm-macros.spec index adf8772..0181b52 100644 --- a/ghc-rpm-macros.spec +++ b/ghc-rpm-macros.spec @@ -11,7 +11,7 @@ Name: ghc-rpm-macros Version: 1.9.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: RPM macros for building Haskell packages for GHC License: GPLv3+ @@ -170,6 +170,9 @@ EOF %changelog +* Sat Oct 6 2018 Jens Petersen - 1.9.5-2 +- fix ghc_set_gcc_flags name + * Sat Oct 6 2018 Jens Petersen - 1.9.5-1 - disable hardened ldflags again diff --git a/macros.ghc b/macros.ghc index 94e4303..1dbeb50 100644 --- a/macros.ghc +++ b/macros.ghc @@ -10,7 +10,7 @@ LANG=en_US.utf8\ %ghc_version %{!?ghc_version_override:%(ghc --numeric-version)}%{?ghc_version_override} -%ghc_set_cflags\ +%ghc_set_gcc_flags\ export CFLAGS="${CFLAGS:-%optflags}"\ %global _hardened_ldflags %{nil}\ export LDFLAGS="${LDFLAGS:-%{?__global_ldflags}}"\