<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>73164</bug_id>
          
          <creation_ts>2004-12-02 13:01 0000</creation_ts>
          <short_desc>compiling lyx-1.3.5 with C-flags instead of C++-flags</short_desc>
          <delta_ts>2004-12-02 19:42:23 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>tpeland@tkukoulu.fi</reporter>
          <assigned_to>text-markup@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>tpeland@tkukoulu.fi</who>
            <bug_when>2004-12-02 13:01:29 0000</bug_when>
            <thetext>In lyx-1.3.5.ebuild there is line
 local flags=&quot;${CFLAGS}&quot;
that should be
 local flags=&quot;${CXXFLAGS}&quot;
as the program is c++ code.

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

I&apos;m using: gcc-3.3.4-r1
CFLAGS=&quot;-march=pentium4 -Os -pipe -fomit-frame-pointer&quot;
CXXFLAGS=&quot;-march=pentium4 -O2 -pipe -fomit-frame-pointer&quot;</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>usata@gentoo.org</who>
            <bug_when>2004-12-02 19:42:23 0000</bug_when>
            <thetext>I applied the patch to lyx-1.3.5.ebuild.
Thanks for the bug report.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>