From 2334f48e8955f713ed095ee9abd9795ae1a51376 Mon Sep 17 00:00:00 2001 From: rdb Date: Wed, 2 Mar 2022 09:58:00 +0100 Subject: [PATCH] makepanda: Always use /BIGOBJ when compiling with Eigen Anything from pgraph onward needs it due to the size of Eigen, but let's just always pass it so we don't constantly have to chase compiler errors --- makepanda/makepanda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index ce8d63b64b..f11797c44f 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -1241,7 +1241,7 @@ def CompileCxx(obj,src,opts): if (building): cmd += " /DBUILDING_" + building - if ("BIGOBJ" in opts) or GetTargetArch() == 'x64': + if ("BIGOBJ" in opts) or GetTargetArch() == 'x64' or not PkgSkip("EIGEN"): cmd += " /bigobj" cmd += " /Zm300"