Browse Source

add hardware float to the armv6 flags

pull/64/head
luigifcruz 3 years ago
parent
commit
872bff032d
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      stage4/05-pisdr-uhd/00-run.sh

+ 3
- 3
stage4/05-pisdr-uhd/00-run.sh View File

@@ -11,9 +11,9 @@ fi
cd uhd/host cd uhd/host
mkdir -p build mkdir -p build
cd 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 ../ -GNinja -DCMAKE_BUILD_TYPE=Release ../
ninja install ninja install
cp /usr/local/lib/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/ cp /usr/local/lib/uhd/utils/uhd-usrp.rules /etc/udev/rules.d/


Loading…
Cancel
Save