diff --git a/backend.native/konan.properties b/backend.native/konan.properties index b08f49b8be8..fc512f6b34a 100644 --- a/backend.native/konan.properties +++ b/backend.native/konan.properties @@ -86,8 +86,8 @@ dependencies.linux = \ libffi-3.2.1-2-linux-x86-64 # Raspberry Pi -arch.linux-raspberrypi = armv7 -quadruple.linux-raspberrypi = armv7-unknown-linux-gnueabihf +arch.linux-raspberrypi = armv6 +quadruple.linux-raspberrypi = armv6-unknown-linux-gnueabihf targetSysRoot.linux-raspberrypi = target-sysroot-1-raspberrypi libffiDir.linux-raspberrypi = libffi-3.2.1-2-raspberrypi libGcc.linux-raspberrypi = target-sysroot-1-raspberrypi/lib/gcc/arm-linux-gnueabihf/4.8.3/ diff --git a/build.gradle b/build.gradle index 795d131088a..74ad999326b 100644 --- a/build.gradle +++ b/build.gradle @@ -72,7 +72,7 @@ void setupCompilationFlags() { [(ext.host): ["--sysroot=${gccToolchainDir}/${gnuTriplet}/sysroot"], "raspberrypi": - ["-target", "armv7-unknown-linux-gnueabihf", + ["-target", "armv6-unknown-linux-gnueabihf", "-mfpu=vfp", "-mfloat-abi=hard", "--sysroot=$raspberryPiSysrootDir", // TODO: those two are hacks.