Skip to content

Commit

Permalink
Recompile Opus with PIC
Browse files Browse the repository at this point in the history
Resolves pion#284
  • Loading branch information
lherman-cs committed Jan 9, 2021
1 parent 8a4e077 commit ca4116b
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/codec/opus/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ $(output_path): $(src_dir)/$(lib_prefix).a | $(lib_dir)

$(src_dir)/$(lib_prefix).a: | $(src_dir)
cd $(src_dir) && \
$(MEDIADEVICES_TOOLCHAIN_BIN) cmake -DOPUS_STACK_PROTECTOR=OFF && \
$(MEDIADEVICES_TOOLCHAIN_BIN) make
$(MEDIADEVICES_TOOLCHAIN_BIN) cmake -DOPUS_STACK_PROTECTOR=OFF -DCMAKE_C_FLAGS="-fpic" && \
$(MEDIADEVICES_TOOLCHAIN_BIN) make VERBOSE=1

$(src_dir): | $(src_root_dir)
git clone --depth=1 --branch=$(version) $(git_url) $@
Expand Down
Binary file modified pkg/codec/opus/lib/libopus-darwin-x64.a
Binary file not shown.
Binary file modified pkg/codec/opus/lib/libopus-linux-arm64.a
Binary file not shown.
Binary file modified pkg/codec/opus/lib/libopus-linux-armv7.a
Binary file not shown.
Binary file modified pkg/codec/opus/lib/libopus-windows-x64.a
Binary file not shown.
Empty file added scripts/.gitkeep
Empty file.

0 comments on commit ca4116b

Please sign in to comment.