Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 453240 - =media-libs/hamlib-1.2.15.3 uses CFLAGS instead of CXXFLAGS
Summary: =media-libs/hamlib-1.2.15.3 uses CFLAGS instead of CXXFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-20 20:56 UTC by Agostino Sarubbo
Modified: 2013-01-22 08:40 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2013-01-20 20:56:50 UTC
At compile time:

/bin/sh ../libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/hamlib-1.2.15.3/work/hamlib-1.2.15.3/c++ -I../include -I/var/tmp/portage/media-libs/hamlib-1.2.15.3/work/hamlib-1.2.15.3/include -I/var/tmp/portage/media-libs/hamlib-1.2.15.3/work/hamlib-1.2.15.3/src -I/var/tmp/portage/media-libs/hamlib-1.2.15.3/work/hamlib-1.2.15.3/lib    -march=native -O2 -g0 -pipe -Wall -pthread -pthread   -MT rigclass.lo -MD -MP -MF .deps/rigclass.Tpo -c -o rigclass.lo /var/tmp/portage/media-libs/hamlib-1.2.15.3/work/hamlib-1.2.15.3/c++/rigclass.cc


/bin/sh ../libtool  --tag=CXX   --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/hamlib-1.2.15.3/work/hamlib-1.2.15.3/c++ -I../include -I/var/tmp/portage/media-libs/hamlib-1.2.15.3/work/hamlib-1.2.15.3/include -I/var/tmp/portage/media-libs/hamlib-1.2.15.3/work/hamlib-1.2.15.3/src -I/var/tmp/portage/media-libs/hamlib-1.2.15.3/work/hamlib-1.2.15.3/lib    -march=native -O2 -g0 -pipe -Wall -pthread -pthread   -MT rotclass.lo -MD -MP -MF .deps/rotclass.Tpo -c -o rotclass.lo /var/tmp/portage/media-libs/hamlib-1.2.15.3/work/hamlib-1.2.15.3/c++/rotclass.cc


libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/hamlib-1.2.15.3/work/hamlib-1.2.15.3/c++ -I../include -I/var/tmp/portage/media-libs/hamlib-1.2.15.3/work/hamlib-1.2.15.3/include -I/var/tmp/portage/media-libs/hamlib-1.2.15.3/work/hamlib-1.2.15.3/src -I/var/tmp/portage/media-libs/hamlib-1.2.15.3/work/hamlib-1.2.15.3/lib -march=native -O2 -g0 -pipe -Wall -pthread -pthread -MT rigclass.lo -MD -MP -MF .deps/rigclass.Tpo -c /var/tmp/portage/media-libs/hamlib-1.2.15.3/work/hamlib-1.2.15.3/c++/rigclass.cc  -fPIC -DPIC -o .libs/rigclass.o


libtool: compile:  x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/hamlib-1.2.15.3/work/hamlib-1.2.15.3/c++ -I../include -I/var/tmp/portage/media-libs/hamlib-1.2.15.3/work/hamlib-1.2.15.3/include -I/var/tmp/portage/media-libs/hamlib-1.2.15.3/work/hamlib-1.2.15.3/src -I/var/tmp/portage/media-libs/hamlib-1.2.15.3/work/hamlib-1.2.15.3/lib -march=native -O2 -g0 -pipe -Wall -pthread -pthread -MT rotclass.lo -MD -MP -MF .deps/rotclass.Tpo -c /var/tmp/portage/media-libs/hamlib-1.2.15.3/work/hamlib-1.2.15.3/c++/rotclass.cc  -fPIC -DPIC -o .libs/rotclass.o

And at link time

/bin/sh ../libtool  --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++  -march=native -O2 -g0 -pipe -Wall -pthread -pthread   -no-undefined -version-info 2:16:0 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o libhamlib++.la -rpath /usr/lib64/hamlib rigclass.lo rotclass.lo ../src/libhamlib.la 
libtool: install: (cd /var/tmp/portage/media-libs/hamlib-1.2.15.3/work/hamlib-1.2.15.3_build/c++; /bin/sh /var/tmp/portage/media-libs/hamlib-1.2.15.3/work/hamlib-1.2.15.3_build/libtool  --tag CXX --mode=relink x86_64-pc-linux-gnu-g++ -march=native -O2 -g0 -pipe -Wall -pthread -pthread -no-undefined -version-info 2:16:0 -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -o libhamlib++.la -rpath /usr/lib64/hamlib rigclass.lo rotclass.lo ../src/libhamlib.la -inst-prefix-dir /var/tmp/portage/media-libs/hamlib-1.2.15.3/image/)


vbp ~ # portageq envvar CFLAGS
-march=native -O2 -g0 -pipe
vbp ~ # portageq envvar CXXFLAGS
-march=native -O2 -pipe
Comment 1 Thomas Beierlein gentoo-dev 2013-01-22 08:40:17 UTC
Good catch. Fixed.

+  22 Jan 2013; Thomas Beierlein <tomjbe@gentoo.org> hamlib-1.2.15.3.ebuild,
+  +files/hamlib-1.2.15.3-configure.diff, -files/hamlib-bindings.diff:
+  use CXXFLAGS for building c++ components (bug #453240). Thanks ago
+