Mercurial > sdl-ios-xcode
view Watcom.mif @ 1199:2d6dc7de1145
From: Mike Frysinger <vapier@gentoo.org>
To: sdl@libsdl.org
Date: Sun, 11 Dec 2005 22:57:37 -0500
Subject: [SDL] exec stack in libsdl update
i posted back in September a patch to remove executable stacks:
http://www.devolution.com/pipermail/sdl/2005-September/070626.html
later in November, a similar patch was merged it seems:
http://www.libsdl.org/cgi/cvsweb.cgi/SDL12/src/hermes/mmx_main.asm
however, this lacks the additional output format checks that i posted in my
patch ... this isnt a problem if the hermes asm code is only ever used to
produce ELF objects, but if this is not true, then the additional checks in
my original patch will need to be merged
-mike
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Mon, 12 Dec 2005 09:13:12 +0000 |
parents | 173c063d4f55 |
children |
line wrap: on
line source
#============================================================================= # This file contains the common includes for the # Watcom makefiles to build SDL.DLL for OS/2 # # #============================================================================= # Create debug build or not? #debug_build=defined # Special flags for building SDL SDLCFlags = -dBUILD_SDL -dCHECK_LEAKS # #============================================================================== # !ifdef debug_build debugflags = -d2 -dDEBUG_BUILD !else debugflags = !endif cflags = -zq $(debugflags) -bd -bm -bt=OS2 -5s -fpi -sg -otexan -wx -ei $(SDLCFlags) $(ExtraCFlags) .extensions: .extensions: .lib .dll .obj .c .asm .c.obj : .AUTODEPEND wcc386 $[* $(cflags) .asm.obj : .AUTODEPEND nasm -t -O2 -f obj -I$(%include) $[*.asm