Skip to content

Commit

Permalink
Add compile flags for aarch64
Browse files Browse the repository at this point in the history
  • Loading branch information
Martchus committed Dec 11, 2018
1 parent e4e246e commit f464841
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 f464841

Please sign in to comment.