• Home
  • Raw
  • Download

Lines Matching +full:- +full:- +full:without +full:- +full:libidn2

1 #!/bin/bash -eu
8 # http://www.apache.org/licenses/LICENSE-2.0
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20 export CPPFLAGS="-I$DEPS_PATH/include"
21 export LDFLAGS="-L$DEPS_PATH/lib -L$DEPS_PATH/lib64"
27 ./configure --enable-static --disable-shared --prefix=$DEPS_PATH
28 make -j$(nproc)
31 cd $SRC/libidn2
34 …./configure --enable-static --disable-shared --disable-doc --disable-gcc-warnings --prefix=$DEPS_P…
35 make -j$(nproc)
39 # https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3119
40 # https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=3159
41 GMP_CONFIGURE_FLAGS="--disable-assembly --disable-fat"
46 ./configure --disable-shared --prefix=$DEPS_PATH $GMP_CONFIGURE_FLAGS
47 make -j$(nproc)
52 ./configure --disable-gcc-warnings --disable-gtk-doc --disable-gtk-doc-pdf --disable-doc \
53 --disable-shared --enable-static --prefix=$DEPS_PATH
54 make -j$(nproc)
59 NETTLE_CONFIGURE_FLAGS="--disable-assembler --disable-fat"
64 …./configure --enable-static --disable-shared --disable-documentation --prefix=$DEPS_PATH $NETTLE_C…
65 ( make -j$(nproc) || make -j$(nproc) ) && make install
74 GNUTLS_CONFIGURE_FLAGS="--disable-hardware-acceleration"
78 ASAN_OPTIONS=detect_leaks=0 LIBS="-lunistring" CXXFLAGS="$CXXFLAGS -L$DEPS_PATH/lib" \
79 …./configure --enable-fuzzer-target --disable-gcc-warnings --enable-static --disable-shared --disab…
80 --disable-tools --disable-cxx --disable-maintainer-mode --disable-libdane --without-p11-kit \
81 --disable-full-test-suite $GNUTLS_CONFIGURE_FLAGS
83 # Do not use the syscall interface for randomness in oss-fuzz, it seems
85 sed -i 's|include <sys/syscall.h>|include <sys/syscall.h>\n#undef SYS_getrandom|' lib/nettle/sysrng
87 make -j$(nproc) -C gl
88 make -j$(nproc) -C lib
91 make oss-fuzz
92 find . -name '*_fuzzer' -exec cp -v '{}' $OUT ';'
93 find . -name '*_fuzzer.dict' -exec cp -v '{}' $OUT ';'
94 find . -name '*_fuzzer.options' -exec cp -v '{}' $OUT ';'
98 zip -rj "$OUT/${fuzzer}_seed_corpus.zip" "${dir}/"