Skip to content

Commit 4f671e8

Browse files
authored
Merge pull request #139 from barberio/patch-1
Pass through CXXFLAGS from parent environment
2 parents dcf6a63 + 937c7b2 commit 4f671e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build-ffmpeg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ if $NONFREE_AND_GPL; then
481481
cd "${PACKAGES}"/x264-5db6aa6 || exit
482482

483483
if [[ "$OSTYPE" == "linux-gnu" ]]; then
484-
execute ./configure --prefix="${WORKSPACE}" --enable-static --enable-pic CXXFLAGS="-fPIC"
484+
execute ./configure --prefix="${WORKSPACE}" --enable-static --enable-pic CXXFLAGS="-fPIC ${CXXFLAGS}"
485485
else
486486
execute ./configure --prefix="${WORKSPACE}" --enable-static --enable-pic
487487
fi

0 commit comments

Comments
 (0)