projects
/
platform
/
upstream
/
dotnet
/
runtime.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
130e184
)
[armel/Linux] Fix armel build (#1609)
author
Alexander Soldatov
<soldatov.a@samsung.com>
Sun, 12 Jan 2020 07:58:09 +0000
(10:58 +0300)
committer
Jan Kotas
<jkotas@microsoft.com>
Sun, 12 Jan 2020 07:58:09 +0000
(23:58 -0800)
Option '-DARM_SOFTFP' not passed after #27077 which required for armel build.
This commit fix it.
eng/native/gen-buildsys.sh
patch
|
blob
|
history
diff --git
a/eng/native/gen-buildsys.sh
b/eng/native/gen-buildsys.sh
index
42fbb7e
..
32e82f2
100755
(executable)
--- a/
eng/native/gen-buildsys.sh
+++ b/
eng/native/gen-buildsys.sh
@@
-167,6
+167,10
@@
if [ "$CROSSCOMPILE" == "1" ]; then
cmake_extra_defines="$cmake_extra_defines -DCMAKE_TOOLCHAIN_FILE=$scriptroot/../common/cross/toolchain.cmake"
fi
+if [ "$build_arch" == "armel" ]; then
+ cmake_extra_defines="$cmake_extra_defines -DARM_SOFTFP=1"
+fi
+
cmake_command=$(command -v cmake)
if [[ "$scan_build" == "ON" && "$SCAN_BUILD_COMMAND" != "" ]]; then