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

Bug 462836

Summary: net-mail/libdbx does not respect CC
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: Patrick Kursawe (RETIRED) <phosphan>
Status: RESOLVED FIXED    
Severity: normal CC: jer, mmk
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 243502    
Attachments: libdbx-1.0.3-r1.ebuild

Description Agostino Sarubbo gentoo-dev 2013-03-23 17:07:17 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)"


make -j4 
gcc -march=native -O2 -g0 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -c libdbx.c 
gcc -march=native -O2 -g0 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -c timeconv.c 
gcc -I/usr/local/include -march=native -O2 -g0 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o readdbx readdbx.c libdbx.o timeconv.o 
gcc -I/usr/local/include -march=native -O2 -g0 -pipe -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o readoe readoe.c libdbx.o timeconv.o
Comment 1 Michael Mair-Keimberger (iamnr3) 2013-06-01 09:35:05 UTC
Created attachment 349808 [details]
libdbx-1.0.3-r1.ebuild

Updated ebuild. Please review.
* fixes gcc direct calling
* eapi bump to eapi 5
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-21 13:55:10 UTC
fixed without a revision bump.