mirror of
https://github.com/henrydcase/pqc.git
synced 2024-11-26 09:21:28 +00:00
Use cc -E instead of cpp
This commit is contained in:
parent
9a6787c872
commit
bfa8589f96
@ -37,7 +37,9 @@ 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_args=[
|
cpp_args=[
|
||||||
|
'-E',
|
||||||
'-std=c99',
|
'-std=c99',
|
||||||
'-nostdinc', # pycparser cannot deal with e.g. __attribute__
|
'-nostdinc', # pycparser cannot deal with e.g. __attribute__
|
||||||
'-I{}'.format(os.path.join(tdir, "../common")),
|
'-I{}'.format(os.path.join(tdir, "../common")),
|
||||||
|
Loading…
Reference in New Issue
Block a user