Skip to content

Commit d500372

Browse files
committed
Simplify.
1 parent 4d6c9f7 commit d500372

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

scripts/fuzz/oss-fuzz-build.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,19 +118,17 @@ ALL="command_parser rtp_parser rtcp_parser rtp_session"
118118
OBJS0="${OBJS}"
119119
for fz in ${ALL}
120120
do
121-
OBJS="${OBJS0}"
122121
obj="${OUT}/fuzz_${fz}.o"
123122
${CC} ${CFLAGS} ${LIB_FUZZING_ENGINE} -Isrc -Imodules/acct_rtcp_hep \
124123
-o "${obj}" -c scripts/fuzz/fuzz_${fz}.c
124+
OBJS="${OBJS0} ${obj}"
125125

126126
case "${fz}" in
127127
rtp_parser)
128128
LIBRTPP="${RTPPLIB}"
129-
OBJS="${OBJS} ${obj}"
130129
;;
131130
*)
132131
LIBRTPP="-Wl,--whole-archive ${RTPPLIB} -Wl,--no-whole-archive"
133-
OBJS="${OBJS} ${obj}"
134132
;;
135133
esac
136134

0 commit comments

Comments
 (0)