Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 462836 - net-mail/libdbx does not respect CC
Summary: net-mail/libdbx does not respect CC
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2013-03-23 17:07 UTC by Agostino Sarubbo
Modified: 2013-06-21 13:55 UTC (History)
2 users (show)

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


Attachments
libdbx-1.0.3-r1.ebuild (libdbx-1.0.3-r1.ebuild,845 bytes, text/plain)
2013-06-01 09:35 UTC, Michael Mair-Keimberger (iamnr3)
Details

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