From: short <> Date: Sun, 23 Feb 2003 13:41:16 +0000 (+0000) Subject: +workaround gcc __stdcall__ bug by reducing CFLAGS optimizations X-Git-Tag: captive-0_2~158 X-Git-Url: http://git.jankratochvil.net/?p=captive.git;a=commitdiff_plain;h=64f6bb65f2620af92a768b780e35b4d62f7b2d1c +workaround gcc __stdcall__ bug by reducing CFLAGS optimizations --- diff --git a/captive.spec.in b/captive.spec.in index 54ba947..4be00eb 100644 --- a/captive.spec.in +++ b/captive.spec.in @@ -51,9 +51,12 @@ TODO %build # Never disable debug for captive, see FAQ # "How to check valid input arguments? Invalid processing state assumptions?" +# FIXME: Use our own CFLAGS to prevent '-mcpu=i686' which up to gcc-20030214 gcc +# will ignore stack freeing of attribute((stdcall)) callees in caller functions code. +# Check at the final call of src/libcaptive/reactos/ntoskrnl/io/irp.c/IofCallDriver(). +CFLAGS="-O2" %configure \ - --enable-shared --disable-static \ - --disable-debug + --enable-shared --disable-static make %install