1 |
This is generally what we do in patches and such. |
2 |
|
3 |
Signed-off-by: Sam James <sam@g.o> |
4 |
--- |
5 |
eclass/toolchain-funcs.eclass | 4 ++-- |
6 |
1 file changed, 2 insertions(+), 2 deletions(-) |
7 |
|
8 |
diff --git a/eclass/toolchain-funcs.eclass b/eclass/toolchain-funcs.eclass |
9 |
index 9bb660e4f71f3..c2c2d1199155d 100644 |
10 |
--- a/eclass/toolchain-funcs.eclass |
11 |
+++ b/eclass/toolchain-funcs.eclass |
12 |
@@ -1211,7 +1211,7 @@ tc-get-cxx-stdlib() { |
13 |
#endif |
14 |
' |
15 |
local res=$( |
16 |
- $(tc-getCXX) ${CXXFLAGS} ${CPPFLAGS} -x c++ -E -P - \ |
17 |
+ $(tc-getCXX) ${CPPFLAGS} ${CXXFLAGS} -x c++ -E -P - \ |
18 |
<<<"${code}" 2>/dev/null |
19 |
) |
20 |
|
21 |
@@ -1239,7 +1239,7 @@ tc-get-cxx-stdlib() { |
22 |
# If the runtime is not recognized, the function returns 1. |
23 |
tc-get-c-rtlib() { |
24 |
local res=$( |
25 |
- $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} \ |
26 |
+ $(tc-getCC) ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} \ |
27 |
-print-libgcc-file-name 2>/dev/null |
28 |
) |
29 |
|
30 |
-- |
31 |
2.39.1 |