| Summary: | Enable debug on libsdl-1.2.9-r1 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Geaaru <geaaru> |
| Component: | New packages | Assignee: | Gentoo Games <games> |
| Status: | RESOLVED INVALID | ||
| Severity: | enhancement | ||
| Priority: | High | ||
| Version: | 2006.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Patch to ebuild for enable debug | ||
Created attachment 86809 [details, diff]
Patch to ebuild for enable debug
And this is patch to ebuild...
that only changes CFLAGS which is *not* what USE=debug is for From use flags description: grep debug /usr/portage/profiles/use.* /usr/portage/profiles/use.desc:debug - Tells configure and the makefiles to build for debugging. Effects vary across packages, but generally it will at least add -g to CFLAGS. Remember to set FEATURES=nostrip too For what USE=debug is for? Thanks. Good Work. |
Hi! i'm working with sdl with amd64 and for same problems meet I add debug support to libsdl-2.6.9-r1.ebuild: --- /home/geaaru/libsdl-1.2.9-r1.ebuild 2006-05-15 19:19:44.000000000 +0200 +++ libsdl-1.2.9-r1.ebuild 2006-05-15 19:14:45.000000000 +0200 @@ -15,7 +15,7 @@ # if you have the noaudio, novideo, nojoystick, or noflagstrip use flags # in USE and something breaks, you pick up the pieces. Be prepared for # bug reports to be marked INVALID. -IUSE="oss alsa esd arts nas X dga xv xinerama fbcon directfb ggi svga aalib opengl libcaca noaudio novideo nojoystick noflagstrip" +IUSE="oss alsa esd arts nas X dga xv xinerama fbcon directfb ggi svga aalib opengl libcaca noaudio novideo nojoystick noflagstrip debug" RDEPEND="!noaudio? ( >=media-libs/audiofile-0.1.9 ) alsa? ( media-libs/alsa-lib ) @@ -110,7 +110,7 @@ && myconf="${myconf} --disable-video" \ || myconf="${myconf} --enable-video-dummy" use nojoystick && myconf="${myconf} --disable-joystick" - + use debug && myconf="${myconf} --enable-debug" local directfbconf="--disable-video-directfb" if use directfb ; then # since DirectFB can link against SDL and trigger a If you want test sdl with debug module this change can enable debug on compile time. Thanks. Bye