commit | 2db938db245b711a0ef6e1faeb59e31b3c0b51f6 | [log] [tgz] |
---|---|---|
author | Martin Storsjö <martin@martin.st> | Fri Aug 18 16:47:38 2017 +0300 |
committer | Martin Storsjö <martin@martin.st> | Sat Aug 19 13:09:28 2017 +0300 |
tree | bcd298ef5a47d338ec4e7f5600bb73b93ad52cb4 | |
parent | 774ddc148350f7b1e50f7d76a55a8685e69d3cb6 [diff] |
crt: Improve the cpp parameters for preprocessing def files Use -undef to avoid any compiler specific predefined definitions, and use -P to skip the line markers - removing the need for the extra sed command. The -w command to silence warnings is necessary, since otherwise there are unnecessary warnings like these: lib64/msvcrt.def.in:66:37: warning: missing terminating ' character ; const __non_rtti_object::`vftable' Signed-off-by: Martin Storsjö <martin@martin.st>