Fix broken armv6l platform detection (issue #71)

This commit is contained in:
katjav 2022-12-15 16:35:20 +01:00
parent e6cff665a3
commit 5c2e137f7a

View file

@ -451,7 +451,7 @@ target.arch := $(firstword $(target.triplet))
# $ gcc -Q --help=target
# ARMv6: Raspberry Pi 1st gen, not detectable from target.arch
ifeq ($(shell uname), armv6l)
ifeq ($(shell uname -m), armv6l)
arch.c.flags = -march=armv6 -mfpu=vfp -mfloat-abi=hard
# ARMv7: Beagle, Udoo, RPi2 etc.