Recompile Opus with PIC

Resolves https://github.com/pion/mediadevices/issues/284
This commit is contained in:
Lukas Herman
2021-01-07 22:41:44 -08:00
parent 8a4e0779d7
commit ca4116b5ce
6 changed files with 2 additions and 2 deletions
+2 -2
View File
@@ -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) $@
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
View File