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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to