Clarify cc vs cpp

This commit is contained in:
Joost Rijneveld 2019-04-05 13:04:32 +02:00
parent 3d8faae483
commit 41edb79c0a
No known key found for this signature in database
GPG Key ID: A4FE39CF49CBC553

View File

@ -35,7 +35,7 @@ def check_char(implementation):
ast = pycparser.parse_file( ast = pycparser.parse_file(
os.path.join(implementation.path(), fname), os.path.join(implementation.path(), fname),
use_cpp=True, use_cpp=True,
cpp_path='cc', cpp_path='cc', # not all platforms link cpp correctly; cc -E works
cpp_args=[ cpp_args=[
'-E', '-E',
'-std=c99', '-std=c99',