[LLVMbugs] [Bug 7093] New: configure script keys should be sufficient to build in Debug mode

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri May 7 12:50:45 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=7093

           Summary: configure script keys should be sufficient to build in
                    Debug mode
           Product: Build scripts
           Version: 2.7
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: Makefiles
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: yuri at tsoft.com
                CC: llvmbugs at cs.uiuc.edu


In 2.7 to enable Debug build I need:
1. run configure with --enable-debug-runtime --enable-debug-symbols
2. run gmake with OPTIMIZE_OPTION="-O0 -g" ENABLE_OPTIMIZED=0

configure options should be enough to determine build type.
--enable-debug-runtime --enable-debug-symbols should automatically pass
OPTIMIZE_OPTION="-O0 -g" ENABLE_OPTIMIZED=0 to gmake.

And if there is the need to override, gmake can be explicitly passed those
options.

Today's situation when I have to pass options to both configure and gmake is
very confusing.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list