diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index a900b6352..89341cfa7 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -272,8 +272,8 @@ if( NOT NO_OPENAL ) endif() endif() -set( LLVM_COMPONENTS core support asmparser asmprinter bitreader codegen passes ipo - irreader transformutils instrumentation profiledata debuginfocodeview runtimedyld +set( LLVM_COMPONENTS core support asmparser asmprinter bitreader codegen ipo + irreader transformutils instrumentation profiledata runtimedyld object instcombine linker analysis selectiondag scalaropts vectorize executionengine mc mcdisassembler mcparser mcjit target x86asmprinter x86info x86desc x86utils x86codegen ) diff --git a/src/r_segs.cpp b/src/r_segs.cpp index cbff7d6e9..0f723f9be 100644 --- a/src/r_segs.cpp +++ b/src/r_segs.cpp @@ -1142,7 +1142,7 @@ WallscanSampler::WallscanSampler(int y1, float swal, double yrepeat, fixed_t xof } else { - double magnitude = abs(uv_stepd * 2); + double magnitude = fabs(uv_stepd * 2); bool magnifying = magnitude < 1.0f; int mipmap_offset = 0;