mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
Added fPIC
This commit is contained in:
parent
c70ee43128
commit
ef1e941e73
@ -998,8 +998,8 @@ def CompileCxxMSVC(wobj,fullsrc,ipath,opts):
|
||||
oscmd(cmd)
|
||||
|
||||
def CompileCxxLINUX(wobj,fullsrc,ipath,opts):
|
||||
if (fullsrc[-2:]==".c"): cmd = 'gcc -c -o ' + wobj
|
||||
else: cmd = 'g++ -ftemplate-depth-30 -c -o ' + wobj
|
||||
if (fullsrc[-2:]==".c"): cmd = 'gcc -fPIC -c -o ' + wobj
|
||||
else: cmd = 'g++ -ftemplate-depth-30 -fPIC -c -o ' + wobj
|
||||
if (OMIT.count("PYTHON")==0): cmd = cmd + ' -I"' + PYTHONSDK + '"'
|
||||
if (PkgSelected(opts,"VRPN")): cmd = cmd + ' -I' + THIRDPARTYLIBS + 'vrpn/include'
|
||||
if (PkgSelected(opts,"FFTW")): cmd = cmd + ' -I' + THIRDPARTYLIBS + 'fftw/include'
|
||||
|
Loading…
x
Reference in New Issue
Block a user