diff options
author | jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com> | 2019-05-14 10:18:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-14 10:18:02 -0700 |
commit | 3976a002af30e1abe76a5b36df82423ce7260034 (patch) | |
tree | 0c6a10504ad748273f3b1e2939c4294c7f78de0c /infra/helper.py | |
parent | 3d4e351c0b187c8981d4c241a9226ccdb20e1342 (diff) | |
download | oss-fuzz-3976a002af30e1abe76a5b36df82423ce7260034.tar.gz |
[i386] Improve linking and bad build check (#2410)
Improve linking by copying i386 libs instead of adding `-L` to `CXXFLAGS`
Get bad_build_check working for i386 binaries and add architecture check.
Diffstat (limited to 'infra/helper.py')
-rwxr-xr-x | infra/helper.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/infra/helper.py b/infra/helper.py index dcf87e8ee..b994d68fc 100755 --- a/infra/helper.py +++ b/infra/helper.py @@ -425,7 +425,7 @@ def build_fuzzers(args): env = [ 'FUZZING_ENGINE=' + args.engine, 'SANITIZER=' + args.sanitizer, - 'ARCHITECTURE=' + args.architecture + 'ARCHITECTURE=' + args.architecture, ] if args.e: env += args.e @@ -491,7 +491,8 @@ def check_build(args): env = [ 'FUZZING_ENGINE=' + args.engine, - 'SANITIZER=' + args.sanitizer + 'SANITIZER=' + args.sanitizer, + 'ARCHITECTURE=' + args.architecture, ] if args.e: env += args.e @@ -794,7 +795,8 @@ def shell(args): env = [ 'FUZZING_ENGINE=' + args.engine, - 'SANITIZER=' + args.sanitizer + 'SANITIZER=' + args.sanitizer, + 'ARCHITECTURE=' + args.architecture, ] if args.e: |