Skip to content

Commit

Permalink
Merge pull request #117 from Martchus/aarch64
Browse files Browse the repository at this point in the history
Fix compilation for aarch64
  • Loading branch information
ChristopheJacquet authored Jul 31, 2019
2 parents 79fb005 + d4ae81c commit 6854d81
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ ifeq ($(UNAME), armv6l)
else ifeq ($(UNAME), armv7l)
CFLAGS = $(STD_CFLAGS) -march=armv7-a -mtune=arm1176jzf-s -mfloat-abi=hard -mfpu=vfp -ffast-math -DRASPI=2
TARGET = pi2
else ifeq ($(UNAME), aarch64)
CFLAGS = $(STD_CFLAGS) -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt -ffast-math -DRASPI=2
TARGET = pi2
else
CFLAGS = $(STD_CFLAGS)
TARGET = other
Expand Down

0 comments on commit 6854d81

Please sign in to comment.