File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -160,8 +160,8 @@ export AR="${CROSS_PREFIX}ar"
160160export NM=" ${CROSS_PREFIX} nm"
161161export RANLIB=" ${CROSS_PREFIX} ranlib"
162162export LDFLAGS=" -L$PREFIX /lib -fPIE -pie "
163- export CFLAGS=" $OPTIMIZE_CFLAGS -I$PREFIX /include --sysroot=$PLATFORM -fPIE "
164- export CXXFLAGS=" $CFLAGS "
163+ export CFLAGS=" $OPTIMIZE_CFLAGS -I$PREFIX /include --sysroot=$PLATFORM -fPIE -Dlog2\(x\)=\(log\(x\)/log\(2\)\) -Dlog2f\(x\)=\(logf\(x\)/log\(2\)\) "
164+ export CXXFLAGS=" $CFLAGS "
165165export CPPFLAGS=" --sysroot=$PLATFORM "
166166export STRIP=${CROSS_PREFIX} strip
167167
182182# --enable-static \
183183# --disable-shared \
184184# --disable-cli \
185+ # --disable-opencl \
185186# --prefix=$PREFIX
186187# make clean
187188# make -j8
@@ -277,7 +278,7 @@ pushd ffmpeg-$FFMPEG_VERSION
277278 --cross-prefix=$CROSS_PREFIX \
278279 --enable-cross-compile \
279280 --sysroot=$PLATFORM \
280- --pkg-config=/usr/local/bin/ pkg-config \
281+ --pkg-config=$( which pkg-config) \
281282 --pkg-config-flags=" --static" \
282283 --enable-pic \
283284 --enable-small \
You can’t perform that action at this time.
0 commit comments