comparison configure @ 36802:621b61818a0f

configure: add -Zhigh-mem linker flag for OS/2 x264 encoder crashes due to memory allocation failure. This fixes the problem.
author komh
date Thu, 20 Feb 2014 13:59:34 +0000
parents 60a69c73d982
children c8b6ad3e5732
comparison
equal deleted inserted replaced
36801:60a69c73d982 36802:621b61818a0f
8054 8054
8055 # On OS/2 nm supports only a.out. So the -Zomf compiler option to generate 8055 # On OS/2 nm supports only a.out. So the -Zomf compiler option to generate
8056 # the OMF format needs to come after the 'extern symbol prefix' check, which 8056 # the OMF format needs to come after the 'extern symbol prefix' check, which
8057 # uses nm. 8057 # uses nm.
8058 if os2 ; then 8058 if os2 ; then
8059 extra_ldflags="$extra_ldflags -Zomf -Zstack 16384 -Zbin-files -Zargs-wild" 8059 extra_ldflags="$extra_ldflags -Zomf -Zstack 16384 -Zbin-files -Zargs-wild -Zhigh-mem"
8060 fi 8060 fi
8061 8061
8062 # linker paths should be the same for mencoder and mplayer 8062 # linker paths should be the same for mencoder and mplayer
8063 ld_tmp="" 8063 ld_tmp=""
8064 for I in $libs_mplayer ; do 8064 for I in $libs_mplayer ; do