Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2020 12:18:25 +0200
From:      Matthias Fechner <idefix@fechner.net>
To:        =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernando.apesteguia@gmail.com>
Cc:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: Help with go based port (invalid flag in pkg-config --libs: -D_THREAD_SAFE )
Message-ID:  <4635f910-1b30-bfdd-4dd2-b07f60c94832@fechner.net>
In-Reply-To: <CAGwOe2bfhrRd9Y4Lq0fVkffpND%2B02rqOPRhvQMzgwm3byQripQ@mail.gmail.com>
References:  <472de244-207e-66ad-128f-859a90817696@fechner.net> <CAGwOe2bfhrRd9Y4Lq0fVkffpND%2B02rqOPRhvQMzgwm3byQripQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4635f910-1b30-bfdd-4dd2-b07f60c94832>