Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 391077 - games-emulation/mupen64plus: ignores CXX variable
Summary: games-emulation/mupen64plus: ignores CXX variable
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christian Birchinger (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-20 09:35 UTC by Michał Górny
Modified: 2011-12-26 01:59 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2011-11-20 09:35:02 UTC
g++ -o OGLRender.o -march=core2 -O2 -pipe -I/usr/include/freetype2   -fno-strict-aliasing -g -pthread -D_REENTRANT [...]

When CXX=clang++. I consider this an outrage!
Comment 1 Christian Birchinger (RETIRED) gentoo-dev 2011-12-13 01:42:19 UTC
I just to export the CC CXX and LD variables and it will fail horrible
with: emake $(get_opts) DBGSYM=1 CC="${CC}" CXX="${CXX}" LD="${CC}"

It's a custom build Makefile and there are many specific gcc options that
clang rejects. The release wont get fixed upstream and i will not invest
days on this.

So unless someone comes up with a easy and quick solution i will not implement
clang build support for this.

I will keep the CC and CXX usage. But i will not change the source so it builds
with clang.

I'll try to make it die early after a tc-getCC test.
Comment 2 Christian Birchinger (RETIRED) gentoo-dev 2011-12-26 01:59:09 UTC
gcc check added. clang or icc are not supported by the build system and will also fail at inline asm stuff when they are forced.

Maybe the 2.x release will address this issue. 1.5 is dead upstream and wont be improved in this area.