Fix the RPi3 spec a bit
So that it actually compiles with gcc-linaro-arm-linux-gnueabihf-raspbian. Remove also flags a device spec should not set (like -std and -O). Change-Id: Ib7a3bc298e60715410d5c00fbc22199ab4711fa7 Reviewed-by: Andy Nichols <andy.nichols@qt.io>
This commit is contained in:
parent
23d08dec0b
commit
91bf773b18
@ -1,4 +1,4 @@
|
||||
# qmake configuration for the Raspberry Pi 3
|
||||
# qmake configuration for the Raspberry Pi 3 (32-bit) using the Broadcom graphics stack
|
||||
|
||||
include(../common/linux_device_pre.conf)
|
||||
|
||||
@ -27,9 +27,8 @@ QMAKE_LIBS_OPENGL_ES2 = $${VC_LINK_LINE} -lGLESv2
|
||||
# The official opt vc EGL references GLESv2 symbols: need to link it
|
||||
QMAKE_LIBS_EGL = $${VC_LINK_LINE} -lEGL -lGLESv2
|
||||
|
||||
# We deliberately override the existing Qt CFLAGS as they might be problematic
|
||||
QMAKE_CFLAGS = -march=armv8-a+crc -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8 -pipe -Os -mthumb
|
||||
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS -std=c++1z
|
||||
QMAKE_CFLAGS = -march=armv8-a -mtune=cortex-a53 -mfpu=crypto-neon-fp-armv8
|
||||
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS
|
||||
|
||||
DISTRO_OPTS += hard-float
|
||||
DISTRO_OPTS += deb-multi-arch
|
||||
|
Loading…
Reference in New Issue
Block a user