Removed unnecessary options from Makefile
This commit is contained in:
parent
956080b6cb
commit
8bd1940357
1 changed files with 4 additions and 4 deletions
8
Makefile
8
Makefile
|
@ -3,7 +3,7 @@ ifeq ($(PLATFORM),)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PLATFORM),rpi3)
|
ifeq ($(PLATFORM),rpi3)
|
||||||
CPU_FLAGS += -mcpu=cortex-a53 -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -funsafe-math-optimizations
|
CPU_FLAGS += -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -funsafe-math-optimizations
|
||||||
MORE_CFLAGS += -DCAPSLOCK_DEBIAN_WORKAROUND -DARMV6T2
|
MORE_CFLAGS += -DCAPSLOCK_DEBIAN_WORKAROUND -DARMV6T2
|
||||||
LDFLAGS += -lbcm_host
|
LDFLAGS += -lbcm_host
|
||||||
DEFS += -DRASPBERRY
|
DEFS += -DRASPBERRY
|
||||||
|
@ -11,7 +11,7 @@ ifeq ($(PLATFORM),rpi3)
|
||||||
HAVE_DISPMANX = 1
|
HAVE_DISPMANX = 1
|
||||||
USE_PICASSO96 = 1
|
USE_PICASSO96 = 1
|
||||||
else ifeq ($(PLATFORM),rpi2)
|
else ifeq ($(PLATFORM),rpi2)
|
||||||
CPU_FLAGS += -mcpu=cortex-a7 -mtune=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -funsafe-math-optimizations
|
CPU_FLAGS += -mcpu=cortex-a7 -mfpu=neon-vfpv4 -mfloat-abi=hard -funsafe-math-optimizations
|
||||||
MORE_CFLAGS += -DCAPSLOCK_DEBIAN_WORKAROUND -DARMV6T2
|
MORE_CFLAGS += -DCAPSLOCK_DEBIAN_WORKAROUND -DARMV6T2
|
||||||
LDFLAGS += -lbcm_host
|
LDFLAGS += -lbcm_host
|
||||||
DEFS += -DRASPBERRY
|
DEFS += -DRASPBERRY
|
||||||
|
@ -81,8 +81,8 @@ MORE_CFLAGS += -mstructure-size-boundary=32
|
||||||
MORE_CFLAGS += -falign-functions=32
|
MORE_CFLAGS += -falign-functions=32
|
||||||
|
|
||||||
ifndef DEBUG
|
ifndef DEBUG
|
||||||
MORE_CFLAGS += -Ofast -pipe -fomit-frame-pointer -ftree-vectorize -fsingle-precision-constant
|
MORE_CFLAGS += -Ofast -pipe -fomit-frame-pointer -fsingle-precision-constant
|
||||||
MORE_CFLAGS += -fweb -frename-registers -fipa-pta -fgcse-las -fexceptions -fpermissive
|
MORE_CFLAGS += -fipa-pta -fgcse-las -fexceptions -fpermissive
|
||||||
else
|
else
|
||||||
MORE_CFLAGS += -g -DDEBUG -Wl,--export-dynamic
|
MORE_CFLAGS += -g -DDEBUG -Wl,--export-dynamic
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue