Fortify build
This commit is contained in:
parent
b4bbce3020
commit
7811434ee9
4 changed files with 6 additions and 4 deletions
|
@ -38,7 +38,7 @@ ffbuild_dockerbuild() {
|
|||
|
||||
./Configure "${myconf[@]}" || return -1
|
||||
|
||||
sed -i -e "/^CFLAGS=/s|=.*|=${CFLAGS} -O2|" -e "/^LDFLAGS=/s|=[[:space:]]*$|=${LDFLAGS}|" Makefile || return -1
|
||||
sed -i -e "/^CFLAGS=/s|=.*|=${CFLAGS}|" -e "/^LDFLAGS=/s|=[[:space:]]*$|=${LDFLAGS}|" Makefile || return -1
|
||||
|
||||
make -j$(nproc) || return -1
|
||||
make install_sw || return -1
|
||||
|
|
|
@ -22,6 +22,7 @@ ffbuild_dockerbuild() {
|
|||
--prefix="$FFBUILD_PREFIX"
|
||||
--disable-shared
|
||||
--enable-static
|
||||
--disable-extra-programs
|
||||
)
|
||||
|
||||
if [[ $TARGET == win* ]]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue