Skip to content

Commit

Permalink
readsb-install: more native
Browse files Browse the repository at this point in the history
  • Loading branch information
wiedehopf committed Oct 3, 2024
1 parent abdfdf4 commit 6bcb604
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readsb-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ cd "$ipath/git"
make clean
THREADS=$(( $(grep -c ^processor /proc/cpuinfo) - 1 ))
THREADS=$(( THREADS > 0 ? THREADS : 1 ))
CFLAGS="-O2 -march=native"
CFLAGS="-O2 -march=native -mtune=native"

# disable unaligned access for arm 32bit ...
if uname -m | grep -qs -e arm -e aarch64 && gcc -mno-unaligned-access hello.c -o /dev/null &>/dev/null; then
Expand Down

0 comments on commit 6bcb604

Please sign in to comment.