Blame SOURCES/0023-Do-a-better-job-of-making-sure-DLIBEFIVAR_VERSION-ha.patch

b15ea1
From 15a379e4764ae5a3f5d8fdf224410c7eaa74c66a Mon Sep 17 00:00:00 2001
b15ea1
From: Peter Jones <pjones@redhat.com>
b15ea1
Date: Wed, 29 May 2019 10:21:32 -0400
b15ea1
Subject: [PATCH 23/86] Do a better job of making sure -DLIBEFIVAR_VERSION
b15ea1
 happens...
b15ea1
b15ea1
Signed-off-by: Peter Jones <pjones@redhat.com>
b15ea1
---
b15ea1
 Make.defaults | 4 +++-
b15ea1
 1 file changed, 3 insertions(+), 1 deletion(-)
b15ea1
b15ea1
diff --git a/Make.defaults b/Make.defaults
b15ea1
index 6c575846687..80fd99eba71 100644
b15ea1
--- a/Make.defaults
b15ea1
+++ b/Make.defaults
b15ea1
@@ -18,7 +18,7 @@ CCLD_FOR_BUILD	?= $(CC_FOR_BUILD)
b15ea1
 CCLD	:= $(if $(filter undefined,$(origin CCLD)),$(CC),$(CCLD))
b15ea1
 OPTIMIZE ?= -O2 -flto
b15ea1
 CFLAGS	?= $(OPTIMIZE) -g3
b15ea1
-CFLAGS	:= $(CFLAGS) -DLIBEFIVAR_VERSION=$(VERSION)
b15ea1
+CFLAGS	:= $(CFLAGS)
b15ea1
 LDFLAGS ?=
b15ea1
 LDFLAGS := $(LDFLAGS)
b15ea1
 AR	:= $(CROSS_COMPILE)$(COMPILER)-ar
b15ea1
@@ -29,6 +29,8 @@ ABIDIFF := abidiff
b15ea1
 
b15ea1
 PKGS	=
b15ea1
 
b15ea1
+CPPFLAGS += -DLIBEFIVAR_VERSION=$(VERSION)
b15ea1
+
b15ea1
 clang_cflags = -D_GNU_SOURCE -std=gnu11 -Wno-address-of-packed-member
b15ea1
 gcc_cflags = -specs=$(TOPDIR)/gcc.specs
b15ea1
 cflags	= $(CFLAGS) -I${TOPDIR}/src/include/ \
b15ea1
-- 
b15ea1
2.24.1
b15ea1