Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 444942

Summary: x11-plugins/monto does not respect CC
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: Gentoo Dockapp Team <desktop-dock>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    

Description Agostino Sarubbo gentoo-dev 2012-11-27 13:37:42 UTC
You receive this bug because this package does not respect my system's CC ( x86_64-pc-linux-gnu-gcc - /usr/bin/x86_64-pc-linux-gnu-gcc ) and calls directly gcc -/usr/bin/gcc
The possible solutions to fix this issue are:
1)Fix the buildsystem, if you can
2)inherit toolchain-funcs and use tc-export CC
3)inherit toolchain-funcs and use emake CC="$(tc-getCC)"


gcc -march=native -O2 -g0 -I/usr/X11R6/include/X11 -c docklib.c
gcc -march=native -O2 -g0 -I/usr/X11R6/include/X11 -c io-mount.c
gcc -march=native -O2 -g0 -I/usr/X11R6/include/X11 docklib.o io-mount.o monto.c -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o monto -L/usr/X11R6/lib -lXpm -lXext -lX11
Comment 1 Bernard Cafarelli gentoo-dev 2012-11-30 14:49:51 UTC
Fixed in -r1!