Skip to content

Commit

Permalink
"Export" linker features
Browse files Browse the repository at this point in the history
We need to feed gn with linker info for qtwebengine build.

Change-Id: I4bd96af8bb8a1927e4c03e5c5d4ade10a0876eb1
Reviewed-by: Alexandru Croitor <[email protected]>
  • Loading branch information
Michal Klocek committed Apr 7, 2021
1 parent c10159a commit 4b46421
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions configure.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ qt_feature("gc_binaries" PRIVATE
CONDITION NOT QT_FEATURE_shared
)
qt_feature("use_bfd_linker"
PRIVATE # special case
LABEL "bfd"
AUTODETECT false
CONDITION NOT WIN32 AND NOT INTEGRITY AND NOT WASM AND TEST_use_bfd_linker
Expand All @@ -372,6 +373,7 @@ qt_feature("use_gold_linker_alias"
CONDITION NOT WIN32 AND NOT INTEGRITY AND NOT WASM AND TEST_use_gold_linker
)
qt_feature("use_gold_linker"
PRIVATE # special case
LABEL "gold"
AUTODETECT false
CONDITION NOT WIN32 AND NOT INTEGRITY AND NOT WASM AND NOT rtems AND TEST_use_gold_linker
Expand All @@ -380,6 +382,7 @@ qt_feature("use_gold_linker"
)
qt_feature_config("use_gold_linker" QMAKE_PRIVATE_CONFIG)
qt_feature("use_lld_linker"
PRIVATE # special case
LABEL "lld"
AUTODETECT false
CONDITION NOT WIN32 AND NOT INTEGRITY AND NOT WASM AND TEST_use_lld_linker
Expand Down

0 comments on commit 4b46421

Please sign in to comment.