Re: I give up. How do I build with CFLAGS='-g3 -O0' ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 26, 2013 at 8:26 AM, Dave Anderson <anderson@xxxxxxxxxx> wrote:
> Try this patch to the top-level Makefile:
>
> --- Makefile    2013-02-26 11:22:58.975556683 -0500
> +++ Makefile    2013-02-26 11:22:35.764557539 -0500
> @@ -225,7 +225,7 @@
>         @if [ ! -f ${GDB}/config.status ]; then \
>           (cd ${GDB}; ./configure ${GDB_CONF_FLAGS} --with-separate-debug-dir=/usr/lib/debug \
>             --with-bugurl="" --with-expat=no --with-python=no; \
> -         make --no-print-directory CRASH_TARGET=${TARGET}; echo ${TARGET} > crash.target) \
> +         make CFLAGS="-g3 -O0" --no-print-directory CRASH_TARGET=${TARGET}; echo ${TARGET} > crash.target) \
>         else (cd ${GDB}/gdb; make --no-print-directory CRASH_TARGET=${TARGET};); fi
>         @if [ ! -f ${GDB}/gdb/libgdb.a ]; then \
>           echo; echo "gdb build failed: ${GDB}/gdb/libgdb.a does not exist"; \
>
> Worked for me...
Very plausible.  I kept trying to configure it.  "sed" worked, too. :)
 Thank you.

--
Crash-utility mailing list
Crash-utility@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/crash-utility


[Index of Archives]     [Fedora Development]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]

 

Powered by Linux