diff --git a/mkspecs/features/gn_generator.prf b/mkspecs/features/gn_generator.prf
index e6ae263ac021abea1edd1261310be7487eb1526a..4b8462415c816bd4194a301155805fc874af83fe 100644
--- a/mkspecs/features/gn_generator.prf
+++ b/mkspecs/features/gn_generator.prf
@@ -177,7 +177,8 @@ GN_CONTENTS += "$${TARGET_TYPE}(\"$$TARGET\") {"
     for (imp, GN_IMPORTS): GN_CONTENTS += "  import(\"$$imp\")"
 }
 
-GN_CONTENTS += "  configs += [ \":$${TARGET}_config\" ] "
+GN_CONTENTS += "  configs += [ \":$${TARGET}_config\" ]"
+GN_CONTENTS += "  configs += [ \"//build/config:precompiled_headers\" ]"
 
 # Source files to compile
 GN_CONTENTS += "  sources = ["
diff --git a/src/3rdparty b/src/3rdparty
index d8e950cba2f4e3625aa551715eb17a89a1a05be8..8ba90427ae5edea70afbeb02df01f59c8fc366d4 160000
--- a/src/3rdparty
+++ b/src/3rdparty
@@ -1 +1 @@
-Subproject commit d8e950cba2f4e3625aa551715eb17a89a1a05be8
+Subproject commit 8ba90427ae5edea70afbeb02df01f59c8fc366d4