

























Hi! I'm facing the following error at the build stage of the package:
# sigs.k8s.io/kubebuilder/v3/cmd
invalid value "\"-Wl,-O1" for flag -extldflags: unterminated " string
usage: link [options] main.o
It seems like the quotes aren't being really scaped, also, my /etc/makepg.config is the standard one:
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now \
-Wl,-z,pack-relative-relocs"
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
Sorry I took so long to see you message.
The issue was not with the escaping but with the = after -extflags.
It worked when I first published this package and I believe the reason why this broke was when changes were made to /etc/makepkg.conf introducing spaces in the variable LDFLAGS. .