tech-pkg archive

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

Re: lintpkgsrc freezes on openmsx



On 9/2/2012 11:14, Thomas Klausner wrote:
On Sun, Sep 02, 2012 at 10:02:21AM +0200, John Marino wrote:
After commenting out sections of the makefile, I've narrowed down
the problem to this line:
LINE 39: CXX=${CXX_OVERRIDE}

For some reason that sends lintpkgsrc spinning.
Is the problem in that program?

Together with the lines above

.if "${PKGSRC_COMPILER}" == "clang"
# As a result of predefining CXX, .wrapper/bin/clang++ is automatically
# hardlinked to c++, g++, which is exactly what we what!
CXX_OVERRIDE=clang++
.elif "${PKGSRC_COMPILER}" == "gcc"
CXX_OVERRIDE=g++
.else
CXX_OVERRIDE=${CXX}
.endif
CXX=${CXX_OVERRIDE}

This looks like a circular reference -- CXX is set to CXX_OVERRIDE,
which is set to CXX.
  Thomas

Mmm - I haven't tested a non-gcc /non-clang compiler so "CXX_OVERRIDE=${CXX}" is not getting run in a regular build. Let me move "CXX=${CXX_OVERRIDE}" for clang or gcc only and see if that fixes things.




Home | Main Index | Thread Index | Old Index