We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9548ee6 commit 5528a26Copy full SHA for 5528a26
1 file changed
.bazelrc
@@ -1,2 +1,7 @@
1
common --enable_bzlmod --enable_workspace
2
build --cxxopt='-std=c++20'
3
+# Needed to fix issues like this which arose in GCC 15:
4
+# "error: relocation refers to local symbol [...], which is defined in a discarded section"
5
+build --copt=-ffunction-sections
6
+build --copt=-fdata-sections
7
+build --linkopt=-Wl,--gc-sections
0 commit comments