Summary: | net-analyzer/cryptcat-1.2.1 : calls directly gcc/g++ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | New packages | Assignee: | Gentoo Netmon project <netmon> |
Status: | RESOLVED FIXED | ||
Severity: | normal | Keywords: | PATCH |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 243502 | ||
Attachments: | ebuild.patch |
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. |
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.