Browse Source

Update Makefile

pull/23/head
Leon Mak 8 years ago
committed by GitHub
parent
commit
8a694ebc4a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Makefile

+ 1
- 1
Makefile View File

@ -13,7 +13,7 @@ CFLAGS=-fPIC -O3 -fomit-frame-pointer -fno-exceptions -Wall -std=c99 -pedantic
MODEL=$(cat /proc/device-tree/model)
ifeq (${PROC},x86_64)
CFLAGS+=-m64 -mtune=generic
else ifeq [[ $MODEL == *"Raspberry Pi"* ]]
else ifneq (,$(findstring "Raspberry Pi", $(MODEL)))
-march=armv7
else
CFLAGS+=-m32 -march=i686


Loading…
Cancel
Save