Skip to content

Commit

Permalink
ALL: Make libvorbis build on clang for all platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
lephilousophe committed Sep 15, 2024
1 parent af3266c commit ec57fd3
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 19 deletions.

This file was deleted.

5 changes: 4 additions & 1 deletion toolchains/common/packages/libvorbis/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@ do_make_bdir

do_pkg_fetch libvorbis

# Fix clang compilation
sed -i -e '/CFLAGS/s:-mno-ieee-fp::' configure.ac

# Avoid compiling and installing doc
sed -ie 's/^\(SUBDIRS.*\) doc/\1/' Makefile.am
sed -i -e 's/^\(SUBDIRS.*\) doc/\1/' Makefile.am

autoreconf -fi -I m4
do_configure
Expand Down
3 changes: 0 additions & 3 deletions toolchains/m4/android/packages_list.m4
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ helpers_package(libogg)

helpers_package(libtheora)

# Platform patch provided in android-common
# Remove compilation flag not supported by clang
COPY --from=android-helpers /lib-helpers/packages/libvorbis lib-helpers/packages/libvorbis
helpers_package(libvorbis)

helpers_package(flac)
Expand Down

0 comments on commit ec57fd3

Please sign in to comment.