diff options
author | ngld <ngld@tproxy.de> | 2013-09-22 03:00:39 +0200 |
---|---|---|
committer | ngld <ngld@tproxy.de> | 2013-09-22 03:00:39 +0200 |
commit | 43ed0e83b8f387eb4ca2eb8e491a4c810d74e56b (patch) | |
tree | 062dbbe8fae7fed0a831ee4dae33cf01d98cf358 /tools | |
parent | 29a62bd92e056800c7bf8f91fbe4c9fc948bf035 (diff) |
Remove "-U__GNUC__" flag to avoid incorrect measurements.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gen_struct_info.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/gen_struct_info.py b/tools/gen_struct_info.py index ccc4aee6..6c479747 100644 --- a/tools/gen_struct_info.py +++ b/tools/gen_struct_info.py @@ -37,7 +37,7 @@ The JSON input format is as follows: 'defines': [ 'DEFINE_1', 'DEFINE_2', - ['f', 'FLOAT_DEFINE'], + ['li', 'FLOAT_DEFINE'], 'DEFINE_3', ... ] @@ -461,7 +461,7 @@ def main(args): QUIET = args.quiet # Avoid parsing problems due to gcc specifc syntax. - cpp_opts = ['-U__GNUC__', '-D_GNU_SOURCE'] + shared.COMPILER_OPTS + cpp_opts = ['-D_GNU_SOURCE'] + shared.COMPILER_OPTS # Add the user options to the list as well. for path in args.includes: @@ -506,4 +506,4 @@ def main(args): output_json(struct_info, not args.pretty_print, args.output) if __name__ == '__main__': - main(sys.argv[1:])
\ No newline at end of file + main(sys.argv[1:]) |