Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-tcf-dev] [Bug 312840] New: Unable to effective include Makefile.inc in make systems which use the CFLAGS variable

https://bugs.eclipse.org/bugs/show_bug.cgi?id=312840 
Product/Component: Target Management / TCF

           Summary: Unable to effective include Makefile.inc in make
                    systems which use the CFLAGS variable
    Classification: DSDP
           Product: Target Management
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: TCF
        AssignedTo: dsdp.tm.tcf-inbox@xxxxxxxxxxx
        ReportedBy: Peder.Andersen@xxxxxxxxxxxxx
         QAContact: martin.oberhuber@xxxxxxxxxxxxx


Build Identifier:
http://dev.eclipse.org/svnroot/dsdp/org.eclipse.tm.tcf/trunk@958

The TCF make rules are designed to allow users to add compilation flags on the
make command line, e.g., make CFLAGS=-03.  However, the current implementation
causes all CFLAGS manipulations performed by makefiles which include TCF's
Makefile.inc to be ignored.  Since modifying CFLAGS is a common operation for
many make systems, this causes problems.

Reproducible: Always

Steps to Reproduce:
1. Write the following makefile:
include Makefile.inc

CFLAGS += -DNECESSARY_SWITCH

test:
    @echo ${CFLAGS}

2. Run make -f test.mk
3. Observe that NECESSARY_SWITCH is not part of CFLAGS

-- 
Configure bugmail: https://bugs.eclipse.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.


Back to the top