libcxl/remove_2_backslashes_in_shell_call.patch
DistroBaker 5a7ec214df Merged update from upstream sources
This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/libcxl.git#bb74394e77ff9235991be992aba4691d3ed22ff5
2020-12-16 21:25:16 +00:00

29 lines
1.1 KiB
Diff

From: Michel Normand <normand@linux.vnet.ibm.com>
Subject: remove 2 backslashes in shell call
Date: Fri, 12 Jun 2020 17:26:40 +0200
Remove 2 backslashes in shell call
To avoid make failure.
Seems to start failing in OBS hardware project
between 2020-04-05 and 2020-04-08
Signed-off-by: Michel Normand <normand@linux.vnet.ibm.com>
---
Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: libcxl-1.7/Makefile
===================================================================
--- libcxl-1.7.orig/Makefile
+++ libcxl-1.7/Makefile
@@ -19,7 +19,7 @@ HAS_WGET = $(shell /bin/which wget > /de
HAS_CURL = $(shell /bin/which curl > /dev/null 2>&1 && echo y || echo n)
# Update this to test a single feature from the most recent header we require:
-CHECK_CXL_HEADER_IS_UP_TO_DATE = $(shell /bin/echo -e \\\#include $(1)\\\nint i = CXL_START_WORK_TID\; | \
+CHECK_CXL_HEADER_IS_UP_TO_DATE = $(shell /bin/echo -e \#include $(1)\\\nint i = CXL_START_WORK_TID\; | \
$(CC) $(CFLAGS) -Werror -x c -S -o /dev/null - >/dev/null 2>&1 && echo y || echo n)
check_cxl_header: