mcst-linux-kernel/patches-2024.06.26/lshw-02.18/0001-Change-compiler.patch

24 lines
594 B
Diff

From cb4de512ef773d130f4a3cc676e36e7e101a4f60 Mon Sep 17 00:00:00 2001
Date: Fri, 12 Jan 2018 20:28:38 +0300
Subject: [PATCH] Change compiler
---
src/core/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/core/Makefile b/src/core/Makefile
index 44abc5e..bcd3251 100644
--- a/src/core/Makefile
+++ b/src/core/Makefile
@@ -1,6 +1,6 @@
PACKAGENAME?=lshw
-CXX=c++
+CXX?=c++
INCLUDES=
DEFINES=-DPREFIX=\"$(PREFIX)\" -DSBINDIR=\"$(SBINDIR)\" -DMANDIR=\"$(MANDIR)\" -DDATADIR=\"$(DATADIR)\"
CXXFLAGS?=-g -Wall $(INCLUDES) $(DEFINES) $(RPM_OPT_FLAGS)
--
2.16.4