mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-02 01:44:06 -04:00
makepanda: enable C++11 support by default
This commit is contained in:
parent
40ea0ab786
commit
40e981e485
@ -1194,7 +1194,7 @@ def CompileCxx(obj,src,opts):
|
||||
|
||||
if (COMPILER=="GCC"):
|
||||
if (src.endswith(".c")): cmd = GetCC() +' -fPIC -c -o ' + obj
|
||||
else: cmd = GetCXX()+' -ftemplate-depth-70 -fPIC -c -o ' + obj
|
||||
else: cmd = GetCXX()+' -std=gnu++0x -ftemplate-depth-70 -fPIC -c -o ' + obj
|
||||
for (opt, dir) in INCDIRECTORIES:
|
||||
if (opt=="ALWAYS") or (opt in opts): cmd += ' -I' + BracketNameWithQuotes(dir)
|
||||
for (opt, dir) in FRAMEWORKDIRECTORIES:
|
||||
|
Loading…
x
Reference in New Issue
Block a user