[Mono-bugs] [Bug 559966] New: jay's Makefile does not use exported CFLAGS

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Dec 2 12:01:48 EST 2009



           Summary: jay's Makefile does not use exported CFLAGS
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.4.x
          Platform: x86-64
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Minor
          Priority: P5 - None
         Component: misc
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: laurent.etiemble at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Created an attachment (id=330534)
 --> (http://bugzilla.novell.com/attachment.cgi?id=330534)
Proposed patch generated against sources

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:
Gecko/2009101601 Firefox/3.0.15 (.NET CLR 4.0.20506)

The make process of jay does not use previously exported CFLAGS and use a
default value instead. This is annoying when compiling for i386 on Snow
Leopard, as GCC defaults to x86_64.

Reproducible: Always

Steps to Reproduce:
1. Export CFLAGS value
2. Build Mono with MCS
3. When building jay, CFLAGS values are not picked up
Actual Results:  
The jay binary has the wrong architecture when building for i386 on Snow
Leopard as GCC defaults to x86_64 architecture.

Expected Results:  
The jay make process should takes any exported CFLAGS instead of defaulting to
arbitrary values.

I have attached a patch that test if CFLAGS has been exported. If yes, the
value is used. If not, the default values is used.

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

More information about the mono-bugs mailing list