Commit deae1b10 authored by Henrik Gramner's avatar Henrik Gramner

windows: Flag debug builds in the resource file

parent 0082b717
......@@ -1171,6 +1171,7 @@ fi
if [ "$debug" = "yes" ]; then
CFLAGS="-O1 -g $CFLAGS"
RCFLAGS="$RCFLAGS -DDEBUG"
else
CFLAGS="-O3 -ffast-math $CFLAGS"
fi
......
......@@ -39,7 +39,11 @@ VS_VERSION_INFO VERSIONINFO
FILEVERSION 0, X264_BUILD, X264_REV, X264_REV_DIFF
PRODUCTVERSION 0, X264_BUILD, X264_REV, X264_REV_DIFF
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
#ifdef DEBUG
FILEFLAGS VS_FF_DEBUG
#else
FILEFLAGS 0
#endif
FILEOS VOS_NT_WINDOWS32 /* Identical for x86-64 */
#ifdef DLL
FILETYPE VFT_DLL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment