History

gen_external.py : force c compiler (emcc defaults to c++)

Martin Hermant committed 9 years ago

Commit b075ad81 parent 023e4b21 file · +1 −1Browse files

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/lib/gen_external.py+1−1
@@ -72,7 +72,7 @@ def get_preprocessor(): · 71 unmodified lines
72 print("Warning: could not guess preprocessor, using env's CC")72 print("Warning: could not guess preprocessor, using env's CC")
73 cpp_cmd = os.environ.get('CC', 'cc').split()73 cpp_cmd = os.environ.get('CC', 'cc').split()
74 cpp_cmd += ['-E']74 cpp_cmd += ['-E']
75 75 cpp_cmd += ['-x', 'c'] # force C language (emcc defaults to c++)
76 return cpp_cmd76 return cpp_cmd
77 77
78def get_cpp_objects(header=header, usedouble=False):78def get_cpp_objects(header=header, usedouble=False):

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t