FreeBSD Bugzilla – Attachment 178242 Details for
Bug 215532
games/minetest: Fix movement when built with clang 3.8+
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to remove -ffast-math flag from build
minetest-movement.patch (text/plain), 780 bytes, created by
Sean Farley
on 2016-12-24 02:59:06 UTC
(
hide
)
Description:
Patch to remove -ffast-math flag from build
Filename:
MIME Type:
Creator:
Sean Farley
Created:
2016-12-24 02:59:06 UTC
Size:
780 bytes
patch
obsolete
>Index: files/patch-src_CMakeLists.txt >=================================================================== >--- files/patch-src_CMakeLists.txt (revision 429303) >+++ files/patch-src_CMakeLists.txt (working copy) >@@ -12,3 +12,12 @@ > # Prefer local iconv if installed > find_library(ICONV_LIBRARY iconv) > mark_as_advanced(ICONV_LIBRARY) >+@@ -682,7 +677,7 @@ else() >+ set(OTHER_FLAGS "-mthreads -fexceptions") >+ endif() >+ >+- set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG ${RELEASE_WARNING_FLAGS} ${WARNING_FLAGS} ${OTHER_FLAGS} -ffast-math -Wall -pipe -funroll-loops") >++ set(CMAKE_CXX_FLAGS_RELEASE "-DNDEBUG ${RELEASE_WARNING_FLAGS} ${WARNING_FLAGS} ${OTHER_FLAGS} -Wall -pipe -funroll-loops") >+ if(APPLE) >+ set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Os") >+ else()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 215532
: 178242