diff options
author | Even Rouault <even.rouault@mines-paris.org> | 2017-06-07 21:03:20 +0200 |
---|---|---|
committer | Oliver Chang <oliverchang@users.noreply.github.com> | 2017-06-07 12:03:20 -0700 |
commit | bf2cf44c056fba5f1915baaa3c25ec17738175ee (patch) | |
tree | 12c86ac691e828e088bd973963618060dd9d74ff /projects/gdal | |
parent | 880af1817771e25d041c0743782297c592c8910f (diff) | |
download | oss-fuzz-bf2cf44c056fba5f1915baaa3c25ec17738175ee.tar.gz |
GDAL: only build libgdal.a, to fix building against hongfuzz engine (#657)
Diffstat (limited to 'projects/gdal')
-rwxr-xr-x | projects/gdal/build.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/projects/gdal/build.sh b/projects/gdal/build.sh index 9db8bdcb0..c1f7b5660 100755 --- a/projects/gdal/build.sh +++ b/projects/gdal/build.sh @@ -17,7 +17,7 @@ # build libnetcdf.a curl ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4.4.1.1.tar.gz > netcdf-4.4.1.1.tar.gz -tar xvzf netcdf-4.4.1.1.tar.gz +tar xzf netcdf-4.4.1.1.tar.gz cd netcdf-4.4.1.1 patch -p0 < $SRC/NC4_put_propattr_leak_fix.patch mkdir build @@ -33,7 +33,7 @@ cd gdal export LDFLAGS=${CXXFLAGS} ./configure --without-libtool --with-liblzma --with-expat --with-sqlite3 --with-xerces --with-webp --with-netcdf=$SRC/install --without-curl --without-hdf5 --with-jpeg=internal make clean -s -make -j$(nproc) -s +make -j$(nproc) -s static-lib export EXTRA_LIBS="-Wl,-Bstatic -lwebp -llzma -lexpat -lsqlite3 -lgif -lpng12 -lz" # Xerces-C related |