mirror of
http://code.qt.io/yocto/meta-qt6.git
synced 2026-01-01 13:58:07 +00:00
sdk: don't define flags for RELEASE build type
The default flags in TARGET_CFLAGS contain '-g' which matches better to RELWITHDEBINFO build type than RELEASE. Don't define any build type flags in the toolchain as CMake provides good default values for each build type. Pick-to: 6.4 6.3 6.2 Change-Id: I6493597f6becf774893386df952c72ab4f66ead2 Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
This commit is contained in:
parent
49ee2bdf07
commit
6672e84e6a
|
|
@ -98,7 +98,6 @@ set(CMAKE_C_COMPILER "${SDKPATHNATIVE}${bindir}/${TARGET_SYS}/${TARGET_PREFIX}gc
|
|||
set(CMAKE_CXX_COMPILER "${SDKPATHNATIVE}${bindir}/${TARGET_SYS}/${TARGET_PREFIX}g++${EXE_EXT}")
|
||||
|
||||
set(TARGET_COMPILER_FLAGS "${TARGET_CC_ARCH} --sysroot=${SDKTARGETSYSROOT}")
|
||||
set(TARGET_COMPILER_FLAGS_RELEASE "${TARGET_CFLAGS}")
|
||||
set(TARGET_LINKER_FLAGS "${TARGET_LDFLAGS}")
|
||||
|
||||
include(CMakeInitializeConfigs)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user