Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 411075 - net-analyzer/cryptcat-1.2.1 : calls directly gcc/g++
Summary: net-analyzer/cryptcat-1.2.1 : calls directly gcc/g++
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: tc-directly
  Show dependency tree
 
Reported: 2012-04-06 19:27 UTC by Agostino Sarubbo
Modified: 2012-04-12 04:11 UTC (History)
0 users

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


Attachments
ebuild.patch (diff,1.29 KB, patch)
2012-04-06 19:27 UTC, Agostino Sarubbo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2012-04-06 19:27:00 UTC
Created attachment 308019 [details, diff]
ebuild.patch

make -j4 
cc -march=native -O2 -g0   -c -o netcat.o netcat.c
g++ -march=native -O2   -c -o farm9crypt.o farm9crypt.cc
g++ -march=native -O2   -c -o twofish2.o twofish2.cc


with the patch:


make -j4 CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ 
x86_64-pc-linux-gnu-gcc -march=native -O2 -g0   -c -o netcat.o netcat.c
x86_64-pc-linux-gnu-g++ -march=native -O2   -c -o farm9crypt.o farm9crypt.cc
x86_64-pc-linux-gnu-g++ -march=native -O2   -c -o twofish2.o twofish2.cc
x86_64-pc-linux-gnu-g++ -march=native -O2 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o cryptcat netcat.o farm9crypt.o twofish2.o


Cleanup and EAPI4 bump included.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-12 04:11:39 UTC
Setting up src_compile just to use tc-getC{C,XX} is not needed when you can simply call `tc-export CC CXX' instead.

Otherwise, the patch went more or less straight into the tree, in -r1.