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
This commit is contained in:
rdb 2022-03-02 09:58:00 +01:00
parent 46c1b887ea
commit 2334f48e89

View File

@ -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"