pmaports/cross/gcc-armv7/0015-build-fix-CXXFLAGS_FOR_BUILD-passing.patch

25 lines
702 B
Diff
Raw Normal View History

From ceb43810c502b238cb487af6e84b1c80f2105f1a Mon Sep 17 00:00:00 2001
2020-08-21 10:18:02 +00:00
From: Ariadne Conill <ariadne@dereferenced.org>
Date: Fri, 21 Aug 2020 06:59:43 +0000
Subject: [PATCH 15/32] build: fix CXXFLAGS_FOR_BUILD passing
2020-08-21 10:18:02 +00:00
---
Makefile.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/Makefile.in b/Makefile.in
index 06a9398e172..6ff2b3f9925 100644
2020-08-21 10:18:02 +00:00
--- a/Makefile.in
+++ b/Makefile.in
@@ -178,6 +178,7 @@ BUILD_EXPORTS = \
2020-08-21 10:18:02 +00:00
# built for the build system to override those in BASE_FLAGS_TO_PASS.
EXTRA_BUILD_FLAGS = \
CFLAGS="$(CFLAGS_FOR_BUILD)" \
+ CXXFLAGS="$(CXXFLAGS_FOR_BUILD)" \
LDFLAGS="$(LDFLAGS_FOR_BUILD)"
# This is the list of directories to built for the host system.
--
2.40.1