Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 394759 - sci-libs/cqrlib-1.0.6 uses CFLAGS instead of CXXFLAGS
Summary: sci-libs/cqrlib-1.0.6 uses CFLAGS instead of CXXFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 394023
  Show dependency tree
 
Reported: 2011-12-14 23:33 UTC by Agostino Sarubbo
Modified: 2011-12-15 08:22 UTC (History)
0 users

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


Attachments
build.log (cqrlib-1.0.6:20111214-232734.log,5.66 KB, text/plain)
2011-12-14 23:33 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2011-12-14 23:33:41 UTC
Created attachment 295871 [details]
build.log

we have:


libtool --mode=compile x86_64-pc-linux-gnu-gcc -march=native -O2 -g0 -ansi -I.  -c -c ./cqrlib.c
libtool --mode=link x86_64-pc-linux-gnu-g++ -march=native -O2 -g0 -ansi -DCQR_NOCCODE=1 -I. ./CPPQRTest.cpp -lm \
              -o bin/CPPQRTest


so the first:  
x86_64-pc-linux-gnu-gcc -march=native -O2 -g0 -ansi -I.  -c -c ./cqrlib.c
goes well

the second: 
x86_64-pc-linux-gnu-g++ -march=native -O2 -g0 -ansi -DCQR_NOCCODE=1 -I. ./CPPQRTest.cpp -lm -o bin/CPPQRTest

not goes well


CFLAGS="-march=native -O2 -g0"
CXXFLAGS="-march=native -O2"


anyway there are other errors in the build.log
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2011-12-15 08:11:46 UTC
I lost my detection script. Will fix it.
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2011-12-15 08:22:28 UTC
+  15 Dec 2011; Justin Lecher <jlec@gentoo.org> cqrlib-1.1.2.ebuild:
+  Don't mix C/XX-FLAGS, #394759
+