Remove debug flag from benchmark

If debug symbols are needed, then pass the respective flag to the
configure script.

Pick-to: 6.9 6.8
Change-Id: I70f8cad624d2e5cfae255a24c9f82010c0c868d9
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Matthias Rauter 2025-03-24 21:50:06 +01:00 committed by Volker Hilsheimer
parent f7b92a255c
commit 1f135d43e4
2 changed files with 0 additions and 6 deletions

View File

@ -13,10 +13,7 @@ qt_internal_add_benchmark(tst_bench_qstringbuilder
LIBRARIES
Qt::Core5Compat
Qt::Test
COMPILE_OPTIONS
-g
)
#### Keys ignored in scope 1:.:.:qstringbuilder.pro:<TRUE>:
# QMAKE_CFLAGS = "-g"
# TEMPLATE = "app"

View File

@ -2,8 +2,5 @@ TEMPLATE = app
CONFIG += benchmark
QT = core testlib core5compat
QMAKE_CXXFLAGS += -g
QMAKE_CFLAGS += -g
TARGET = tst_bench_qstringbuilder
SOURCES += main.cpp