From 872bff032d304c7299f94400d74fca700458f871 Mon Sep 17 00:00:00 2001 From: luigifcruz Date: Sun, 12 Dec 2021 13:39:28 -0300 Subject: [PATCH] add hardware float to the armv6 flags --- stage4/05-pisdr-uhd/00-run.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stage4/05-pisdr-uhd/00-run.sh b/stage4/05-pisdr-uhd/00-run.sh index dce9245..f2822b1 100755 --- a/stage4/05-pisdr-uhd/00-run.sh +++ b/stage4/05-pisdr-uhd/00-run.sh @@ -11,9 +11,9 @@ fi cd uhd/host mkdir -p build cd build -cmake -DCMAKE_CXX_FLAGS:STRING="-march=armv6-m -Wno-psabi" \ - -DCMAKE_C_FLAGS:STRING="-march=armv6-m -Wno-psabi" \ - -DCMAKE_ASM_FLAGS:STRING="-march=armv6-m" \ +cmake -DCMAKE_CXX_FLAGS:STRING="-march=armv6-m -mfloat-abi=hard -Wno-psabi" \ + -DCMAKE_C_FLAGS:STRING="-march=armv6-m -mfloat-abi=hard -Wno-psabi" \ + -DCMAKE_ASM_FLAGS:STRING="-march=armv6-m -mfloat-abi=hard " \ -GNinja -DCMAKE_BUILD_TYPE=Release ../ ninja install cp /usr/local/lib/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/