mirror of
https://github.com/FunKey-Project/FunKey-ProdScreens.git
synced 2026-08-15 07:27:08 +02:00
New tests, Cleaned up tests, check screen dimensions before SDL_SetVideoMode
This commit is contained in:
4
Makefile
4
Makefile
@@ -23,8 +23,10 @@ CC=$(CROSS_COMPILE)gcc
|
||||
# Other options
|
||||
ifeq ($(platform), funkey)
|
||||
CFLAGS += $(shell /opt/FunKey-sdk-2.3.0/arm-funkey-linux-musleabihf/sysroot/usr/bin/sdl-config --cflags)
|
||||
CFLAGS += -O2 -mfloat-abi=hard -ffast-math -funsafe-math-optimizations -fno-PIC -march=armv7-a+neon-vfpv4 -mtune=cortex-a7 -mfpu=neon-vfpv4
|
||||
#CFLAGS += -O2
|
||||
CFLAGS += -O3
|
||||
CFLAGS += -mfloat-abi=hard -ffast-math -funsafe-math-optimizations -fno-PIC -march=armv7-a+neon-vfpv4 -mtune=cortex-a7 -mfpu=neon-vfpv4
|
||||
#CFLAGS += -ffreestanding -mfpu=neon -mfloat-abi=hard
|
||||
LIBS += $(shell /opt/FunKey-sdk-2.3.0/arm-funkey-linux-musleabihf/sysroot/usr/bin/sdl-config --libs)
|
||||
else
|
||||
CFLAGS += `sdl-config --cflags`
|
||||
|
||||
Reference in New Issue
Block a user