[Bug 1535549] Review Request: mupen64plus - Nintendo 64 Emulator

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

 



https://bugzilla.redhat.com/show_bug.cgi?id=1535549



--- Comment #8 from Robert-André Mauchin <zebob.m@xxxxxxxxx> ---
   Ah I got it! I noticed there is a debug option in the Makefile:

Debugging Options:"
    @echo "    PROFILE=1     == build gprof instrumentation into binaries for
profiling"
    @echo "    DEBUG=1       == add debugging symbols to binaries"


   Of course I tried to add it to the build line, with no success. It's not
needed there anyway since it's already taken care of by the default Fedora
%optflags.

   However at install time, this debug option enables or disables a "-s" flag
for install. And what does "install -s" do? It strips the binaries, thus
preventing find-debuginfo to find the debugging symbols.

   TL;DR: add DEBUG=1 to the install line:

# NOTE: set LDCONFIG to true so it's not run during this script
./m64p_install.sh DESTDIR=%{buildroot} PREFIX=%{_prefix} MANDIR=%{_mandir}
LIBDIR=%{_libdir} DEBUG=1 LDCONFIG='true


   And voilà the debug packages are built.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux