aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--build.macros.in8
2 files changed, 8 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 16dac7b..ee5f275 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- build.macros: add __global_* macros for compatibility with Fedora
- build.macros: drop deprecated and unused macros
- __chkconfig
- __service
diff --git a/build.macros.in b/build.macros.in
index 61c7259..9c93cc5 100644
--- a/build.macros.in
+++ b/build.macros.in
@@ -234,10 +234,16 @@ export CFLAGS="%optflags"; export CXXFLAGS="%optflags"; export RPM_OPT_FLAGS="%o
%configure2_5x \
%main_configure
-
# Maximum number of CPU's to use when building, 0 for unlimited.
%_smp_ncpus_max 0
+# Deprecated names. For backwards compatibility only.
+%__global_cflags %{build_cflags}
+%__global_cxxflags %{build_cxxflags}
+%__global_fflags %{build_fflags}
+%__global_fcflags %{build_fflags}
+%__global_ldflags %{build_ldflags}
+
#==============================================================================
# ---- Build policy macros.
#