Unverified Commit 60a92013 authored by Libretro-Admin's avatar Libretro-Admin Committed by GitHub
Browse files

Merge pull request #10 from vanfanel/master

Remove potentially harmful CFLAG on the Rpi platforms, and add the Rp…
parents 11906d13 808390dd
......@@ -65,14 +65,17 @@ ifneq (,$(findstring unix,$(platform)))
# Raspberry Pi
ifneq (,$(findstring rpi,$(platform)))
CFLAGS += -fomit-frame-pointer -ffast-math
CXXFLAGS += -fomit-frame-pointer -ffast-math
CFLAGS += -fomit-frame-pointer
CXXFLAGS += -fomit-frame-pointer
ifneq (,$(findstring rpi1,$(platform)))
CFLAGS += -DARM -marm -march=armv6j -mfpu=vfp -mfloat-abi=hard
CXXFLAGS += -DARM -marm -march=armv6j -mfpu=vfp -mfloat-abi=hard
else ifneq (,$(findstring rpi2,$(platform)))
CFLAGS += -DARM -marm -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard
CXXFLAGS += -DARM -marm -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard
else ifneq (,$(findstring rpi3_64,$(platform)))
CFLAGS += -DARM -march=armv8-a+crc -mtune=cortex-a53
CXXFLAGS += -DARM -march=armv8-a+crc -mtune=cortex-a53
else ifneq (,$(findstring rpi3,$(platform)))
CFLAGS += -DARM -marm -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard
CXXFLAGS += -DARM -marm -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment