Support armv6 devices (Pi Zero) (#588)

This commit is contained in:
Miquel Beltran
2017-05-21 09:56:40 +02:00
committed by Nikolay Igotti
parent cdec464b29
commit dfc179e2b9
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -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.