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

Bug 461722

Summary: net-dialup/pptpd does not respect CC
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: New packagesAssignee: Gentoo Dialup Developers <net-dialup>
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 2013-03-14 13:16:32 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 -o pptpd-logwtmp.so -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -shared -march=native -O2 -g0 -pipe -fno-builtin -Wall -DSBINDIR='"/usr/sbin"' -I.. -I../../include 
-fPIC pptpd-logwtmp.c -lutil
Comment 1 Sergey Popov gentoo-dev 2013-03-25 13:23:19 UTC
+  25 Mar 2013; Sergey Popov <pinkbyte@gentoo.org> pptpd-1.3.4-r2.ebuild,
+  files/pptpd-1.3.4-gentoo.patch:
+  Respect compiler during plugins build, wrt bug #461722. Thanks to Agostino
+  Sarubbo for discovering this issue