aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOkamura Kazuya <gentoo-guru@danceylove.net>2023-07-08 09:20:12 +0900
committerOkamura Kazuya <gentoo-guru@danceylove.net>2023-07-08 09:20:12 +0900
commit981117d78139d5011776a5d243920dd6a348b8c1 (patch)
tree50cf6b28a8afb9b727cadc6e60ad81ebb6323793 /dev-libs/lsquic
parentsys-firmware/lenovolegionlinux: enable py3.12 (diff)
downloadguru-981117d78139d5011776a5d243920dd6a348b8c1.tar.gz
guru-981117d78139d5011776a5d243920dd6a348b8c1.tar.bz2
guru-981117d78139d5011776a5d243920dd6a348b8c1.zip
dev-libs/lsquic: Fix boringssl library static link failure.
Signed-off-by: Okamura Kazuya <gentoo-guru@danceylove.net>
Diffstat (limited to 'dev-libs/lsquic')
-rw-r--r--dev-libs/lsquic/files/lsquic-link-boringssl-static-libs.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-libs/lsquic/files/lsquic-link-boringssl-static-libs.patch b/dev-libs/lsquic/files/lsquic-link-boringssl-static-libs.patch
index 314fcec99..27cf305ae 100644
--- a/dev-libs/lsquic/files/lsquic-link-boringssl-static-libs.patch
+++ b/dev-libs/lsquic/files/lsquic-link-boringssl-static-libs.patch
@@ -148,7 +148,7 @@ index aac5f0d..37cbfa3 100644
# Note clang-cl is odd and sets both CLANG and MSVC. We base our configuration
# primarily on our normal Clang one.
- set(C_CXX_FLAGS "-Werror -Wformat=2 -Wsign-compare -Wmissing-field-initializers -Wwrite-strings -Wvla -Wshadow -Wtype-limits")
-+ set(C_CXX_FLAGS "-Wformat=2 -Wsign-compare -Wmissing-field-initializers -Wwrite-strings -Wvla -Wshadow -Wtype-limits")
++ set(C_CXX_FLAGS "-Wformat=2 -Wsign-compare -Wmissing-field-initializers -Wwrite-strings -Wvla -Wshadow -Wtype-limits -fPIC")
if(MSVC)
# clang-cl sets different default warnings than clang. It also treats -Wall
# as -Weverything, to match MSVC. Instead -W3 is the alias for -Wall.