File tree 1 file changed +9
-5
lines changed
1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -768,11 +768,15 @@ if build "libtheora" "1.1.1"; then
768
768
sed " s/-fforce-addr//g" configure > configure.patched
769
769
chmod +x configure.patched
770
770
mv configure.patched configure
771
- # #BEGIN CONFIG.GUESS PATCH -- Updating config.guess file. Which allowed me to compile on aarch64 (ARMv8) [linux kernel 4.9 Ubuntu 20.04]
772
- rm config.guess
773
- curl -L --silent -o " config.guess" " https://raw.githubusercontent.com/gcc-mirror/gcc/master/config.guess"
774
- chmod +x config.guess
775
- # #END OF CONFIG.GUESS PATCH
771
+
772
+ if ! $MACOS_M1 ; then
773
+ # #BEGIN CONFIG.GUESS PATCH -- Updating config.guess file. Which allowed me to compile on aarch64 (ARMv8) [linux kernel 4.9 Ubuntu 20.04]
774
+ rm config.guess
775
+ curl -L --silent -o " config.guess" " https://raw.githubusercontent.com/gcc-mirror/gcc/master/config.guess"
776
+ chmod +x config.guess
777
+ # #END OF CONFIG.GUESS PATCH
778
+ fi
779
+
776
780
execute ./configure --prefix=" ${WORKSPACE} " --with-ogg-libraries=" ${WORKSPACE} " /lib --with-ogg-includes=" ${WORKSPACE} " /include/ --with-vorbis-libraries=" ${WORKSPACE} " /lib --with-vorbis-includes=" ${WORKSPACE} " /include/ --enable-static --disable-shared --disable-oggtest --disable-vorbistest --disable-examples --disable-asm --disable-spec
777
781
execute make -j $MJOBS
778
782
execute make install
You can’t perform that action at this time.
0 commit comments