Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 461722 - net-dialup/pptpd does not respect CC
Summary: net-dialup/pptpd does not respect CC
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Dialup Developers
Depends on:
Blocks: tc-directly
  Show dependency tree
Reported: 2013-03-14 13:16 UTC by Agostino Sarubbo
Modified: 2013-03-25 13:23 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
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 -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 <> 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