summaryrefslogtreecommitdiff
path: root/lib/fuzzing/oss-fuzz/build_samba.sh
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fuzzing/oss-fuzz/build_samba.sh')
-rwxr-xr-xlib/fuzzing/oss-fuzz/build_samba.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/fuzzing/oss-fuzz/build_samba.sh b/lib/fuzzing/oss-fuzz/build_samba.sh
index e4783442b20..63b81af0810 100755
--- a/lib/fuzzing/oss-fuzz/build_samba.sh
+++ b/lib/fuzzing/oss-fuzz/build_samba.sh
@@ -11,6 +11,9 @@
#
# CFLAGS are supplied by the caller, eg the oss-fuzz compile command
#
+# Additional arguments are passed to configure, to allow this to be
+# tested in autobuild.py
+#
ADDITIONAL_CFLAGS="$CFLAGS"
export ADDITIONAL_CFLAGS
CFLAGS=""
@@ -42,7 +45,9 @@ esac
--disable-warnings-as-errors \
--abi-check-disable \
--fuzz-target-ldflags="$LIB_FUZZING_ENGINE" \
- --nonshared-binary=ALL LINK_CC="$CXX"
+ --nonshared-binary=ALL \
+ "$@" \
+ LINK_CC="$CXX"
make -j