summaryrefslogtreecommitdiffstats
path: root/mkspecs/features/gn_generator.prf
diff options
context:
space:
mode:
Diffstat (limited to 'mkspecs/features/gn_generator.prf')
-rw-r--r--mkspecs/features/gn_generator.prf3
1 files changed, 3 insertions, 0 deletions
diff --git a/mkspecs/features/gn_generator.prf b/mkspecs/features/gn_generator.prf
index 6ff09d851..a83b59847 100644
--- a/mkspecs/features/gn_generator.prf
+++ b/mkspecs/features/gn_generator.prf
@@ -230,6 +230,9 @@ win32 {
CONFIG(rtti_off): GN_CONTENTS += " configs += [\"//build/config/compiler:no_rtti\"]"
CONFIG(rtti): GN_CONTENTS += " configs += [\"//build/config/compiler:rtti\"]"
}
+gcc:!qtConfig(reduce_exports) {
+ GN_CONTENTS += " configs -= [\"//build/config/gcc:symbol_visibility_hidden\"]"
+}
GN_CONTENTS += " if (moc_source_h_files != []) {"
GN_CONTENTS += " deps += ["