We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b32d1a commit 625dd9cCopy full SHA for 625dd9c
build-scripts/detect-environment
@@ -272,6 +272,9 @@ detect_packaging()
272
export DEP_PACKAGING PACKAGING
273
}
274
275
+# This function determines which architecture to build for based on the system
276
+# we're building on. Unless we are cross compiling, then it's determined by the
277
+# CROSS_TARGET variable.
278
detect_arch()
279
{
280
case "$DEP_PACKAGING" in
@@ -307,6 +310,9 @@ detect_arch()
307
310
;;
308
311
esac
309
312
313
+ # Windows is build on Debian. Hence we need to determine the architecture
314
+ # based on the 'CROSS_TARGET' variable which is derived from the 'label'
315
+ # variable instead of the system that we are building on.
316
case "$CROSS_TARGET" in
317
'')
318
0 commit comments