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/base-images/base-builder/compile | |
parent | 3d4e351c0b187c8981d4c241a9226ccdb20e1342 (diff) |
[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/base-images/base-builder/compile')
-rwxr-xr-x | infra/base-images/base-builder/compile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/infra/base-images/base-builder/compile b/infra/base-images/base-builder/compile index b15d0edf..5e63f0dd 100755 --- a/infra/base-images/base-builder/compile +++ b/infra/base-images/base-builder/compile @@ -24,7 +24,7 @@ fi if [[ $ARCHITECTURE == "i386" ]]; then export CFLAGS="-m32 $CFLAGS" - export CXXFLAGS_EXTRA="-L/usr/i386/lib $CXXFLAGS_EXTRA" + cp -R /usr/i386/lib/* /usr/lib fi if [[ $FUZZING_ENGINE != "none" ]]; then # compile script might override environment, use . to call it. |