package/qt5/qt5base: disable predefined -Og optimization
authorGiulio Benetti <giulio.benetti@micronovasrl.com>
Tue, 18 Jun 2019 08:45:32 +0000 (10:45 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sat, 22 Jun 2019 18:36:08 +0000 (20:36 +0200)
commit5857ab6a96be17615a05ff4e6a91d8f475890980
treea8f6ae3bd7553c0e08c48826bc16249fb0358920
parentd1d704667fcb6ab913bdb529d1629b2f60d93ab5
package/qt5/qt5base: disable predefined -Og optimization

Starting from Qt5 5.9.0, -optimize-debug is enabled by default for
debug builds causing -Og flag to be appended to CFLAGS and
consequently override TARGET_CFLAGS. We don't want this so let's pass
-no-optimize-debug to QT5BASE_CONFIGURE_OPTS if QT5_VERSION_LATEST=y.

Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/qt5/qt5base/qt5base.mk