tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: [PATCH] devel/readline: more proper libtool usage; specify --tag=CC

Am Thu, 5 Oct 2017 10:32:57 +0200
schrieb "Dr. Thomas Orgis" <>:

> Any hints regarding why CC=cc happens instead of CC=gcc (which must
> have happened sometime in the past as I used to be able to build
> readline!) are welcome anyway.

I am still interested in the logic of that, but I understand the
failures I had now and why this did not happen in my scripted builds.
My build script always sets up the same environemnt as during
bootstrap, including CC=gcc and CFLAGS. With these settings in the
environment, the setting of either CC?=cc or CC?=gcc (decided by
… whatever … I'd expect my bootstrap CC to land here!) is overridden
and builds work fine.

So I always need to remember to set up CC/CXX/FC at least before trying
to run bmake inside a pkgsrc tree while hacking on packages. Or I put
this into mk.conf in addition to telling bootstrap what to use. Thing
is … my CFLAGS are recorded in mk.conf … why is CC not recorded? Seems
like I should add it to mk.conf myself in the build script to be on the
safe side.

Alrighty then,


Dr. Thomas Orgis
Universität Hamburg
RRZ / Basis-Infrastruktur / HPC
Schlüterstr. 70
20146 Hamburg
Tel.: 040/42838 8826
Fax: 040/428 38 6270

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Home | Main Index | Thread Index | Old Index