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