Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73164 - compiling lyx-1.3.5 with C-flags instead of C++-flags
Summary: compiling lyx-1.3.5 with C-flags instead of C++-flags
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-02 13:01 UTC by Tero Pelander
Modified: 2004-12-02 19:42 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 Tero Pelander 2004-12-02 13:01:29 UTC
In lyx-1.3.5.ebuild there is line
 local flags="${CFLAGS}"
that should be
 local flags="${CXXFLAGS}"
as the program is c++ code.

This is important, as selecting wrong flags causes the compilation to fail.

I'm using: gcc-3.3.4-r1
CFLAGS="-march=pentium4 -Os -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
Comment 1 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-12-02 19:42:23 UTC
I applied the patch to lyx-1.3.5.ebuild.
Thanks for the bug report.