Help with go based port (invalid flag in pkg-config --libs: -D_THREAD_SAFE )

Matthias Fechner idefix at fechner.net
Thu Sep 24 10:18:33 UTC 2020


Am 23.09.2020 um 22:46 schrieb Fernando Apesteguía:
> I found this:
>
> https://fipress.org/knowledge/invalid-flags-in-cgo-ldflags-pkg-config-or-invalid-flag-in-pkg-config

thanks a lot, I was able to fix by whitelisting the linker flag:

https://gitlab.fechner.net/mfechner/Gitlab/-/commit/b279e2a7c597f7fc43750e3fbdea381d4ae0e7da#bb7d21b8cd0b80c3126fb42d4410d6178b8150aa_13_16


Gruß
Matthias

-- 

"Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning." --
Rich Cook



More information about the freebsd-ports mailing list