[Mono-bugs] [Bug 519297] New: [PATCH] Respect user-defined CFLAGS

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sat Jul 4 06:11:21 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=519297


           Summary: [PATCH] Respect user-defined CFLAGS
    Classification: Mono
           Product: Mono: Debugger
           Version: 2.4.x
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: backend
        AssignedTo: martin at novell.com
        ReportedBy: flameeyes at gentoo.org
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=302941)
 --> (http://bugzilla.novell.com/attachment.cgi?id=302941)
respect flags

User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.11)
Gecko/2009063000 Gentoo Firefox/3.0.11

While it might not sound like a perfect idea, leaving the user able to provide
his own flags is usually a good idea, especially for distributions like Gentoo.

While the obvious example is that users can provide funky flags that break the
code, sometimes the flags are used instead to harden it, or to get proper debug
information; right now there is no way to pass -ggdb during the build of the
mono-debugger backend, thus to actually get data out of stepping into the code.

This also fixes what I think was something that was supposed to happen but
didn't: the warning flags being passed down the line to the compiler, indeed it
causes a huge list of warnings to be printed out that weren't before.

Note: I've put the flags after -g so that an user not wanting debug information
(yes I know it's silly for a debugger to be built without debug information,
but let's all go for consistency) can pass -g0.


Reproducible: Always

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list