文件最后提交记录最后更新时间
contribs: lame: use version 3.100 (cherry picked from commit 4ac5fe7ff0e49da5b1fc4d04430661646e9c216f) Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org> 7 年前
contrib: lame: Don't use -mtune=native/-march=native When building a distribution package, tuning specifically for the system building it is pointless. (If we want to tune specifically for something else than the compiler's default, we should specify that and not rely on it being implied from the system doing the compilation.) When cross compiling VLC for x86 from a non-x86 system, -mtune=native and -march=native cause compiler errors (in practice, e.g. for i686-w64-mingw32 targets built on aarch64, GCC doesn't mind -mtune=native but errors out for -march=native, while Clang errors out for -mtune=native too). This generalizes an existing fix, getting rid of more cases of -mtune=native/-march=native, applying it for any target, not only darwin, fixing cross compilation for i686 mingw from aarch64 linux. (cherry picked from commit bd553fbb542ec3e5bbab0aac94b03a893af819a6) 4 年前
Use _WIN32 rather than WIN32 (same for WIN64) http://msdn.microsoft.com/en-us/library/b0084kay(v=vs.80).aspx only mentions the _ prefixed variable. gcc will always define the _ prefixed variable, like Visual Studio. The prefixless one is defined in some language standards, e.g. gnu99 but not c99. 12 年前
contrib: lame: Don't use -mtune=native/-march=native When building a distribution package, tuning specifically for the system building it is pointless. (If we want to tune specifically for something else than the compiler's default, we should specify that and not rely on it being implied from the system doing the compilation.) When cross compiling VLC for x86 from a non-x86 system, -mtune=native and -march=native cause compiler errors (in practice, e.g. for i686-w64-mingw32 targets built on aarch64, GCC doesn't mind -mtune=native but errors out for -march=native, while Clang errors out for -mtune=native too). This generalizes an existing fix, getting rid of more cases of -mtune=native/-march=native, applying it for any target, not only darwin, fixing cross compilation for i686 mingw from aarch64 linux. (cherry picked from commit bd553fbb542ec3e5bbab0aac94b03a893af819a6) 4 年前
contrib: lame: Use __attribute__((target("sse"))) instead of #pragma GCC target("sse") Clang doesn't support the pragma, but does support the attribute. Update the existing patch to do things this way. With previous versions of lame, this hasn't been an issue, because if one doesn't pass any -march flag, clang defaults to pentium4 as target for i386 targets, and there both sse and sse2 are available by default. Since lame 3.100, lame now passes -march=i686 even for clang, which disables SSE by default, requiring the per-function enabling to actually work. (cherry picked from commit e335c759dd2fa885ddf967f69256785a0cd7c02c) Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr> 7 年前
contrib: lame: fix a crash when compiled for ARM with MSVC Probably some issues with the FLOAT in the structure. (cherry picked from commit ecbd1205a00dedd707fee4e9be91de75d366e0bc) 6 年前