pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

thedarkmod: Disable custom optimizations



Module Name:	pkgsrc-wip
Committed By:	nia <nia%NetBSD.org@localhost>
Pushed By:	nee
Date:		Thu Apr 18 17:19:37 2019 +0100
Changeset:	fc3a6b7039948ba311118ec719b2c4d841cbade8

Modified Files:
	thedarkmod/distinfo
	thedarkmod/patches/patch-SConstruct

Log Message:
thedarkmod: Disable custom optimizations

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fc3a6b7039948ba311118ec719b2c4d841cbade8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 thedarkmod/distinfo                 |  2 +-
 thedarkmod/patches/patch-SConstruct | 10 +++++++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diffs:
diff --git a/thedarkmod/distinfo b/thedarkmod/distinfo
index 3e852d4d71..e2db782317 100644
--- a/thedarkmod/distinfo
+++ b/thedarkmod/distinfo
@@ -4,7 +4,7 @@ SHA1 (thedarkmod.2.07.src.7z) = e615af9e67990ed48cee98eb218d389d4b095b4c
 RMD160 (thedarkmod.2.07.src.7z) = 94ded62dcb4a5b0e0b9bcc24e40131ecd4c58b19
 SHA512 (thedarkmod.2.07.src.7z) = e76aba85722af0e496b604a20fb9f33a44867f0179187d018a6f4dcde5a28987913ead473e86aa0810d2b37c198bfaba48c9f5ccc895af0dfc5863baf15e6db4
 Size (thedarkmod.2.07.src.7z) = 52411631 bytes
-SHA1 (patch-SConstruct) = e2542ba22f52c51fd215e65c651b064808bfb8d2
+SHA1 (patch-SConstruct) = 0fd89d7730dc02f0bbb5dd7bb7e7a79b1005f13e
 SHA1 (patch-TypeInfo_main.cpp) = ad58a4917b961c48858af61f25c8565dcb50d54f
 SHA1 (patch-game_anim_Anim__Blend.cpp) = 326457af38817439b623dd20679be67779aca3d4
 SHA1 (patch-idlib_Str.h) = 68993a266fa91d0909a2ef31720e754f013c4b90
diff --git a/thedarkmod/patches/patch-SConstruct b/thedarkmod/patches/patch-SConstruct
index 1e36fc9804..6828a308b2 100644
--- a/thedarkmod/patches/patch-SConstruct
+++ b/thedarkmod/patches/patch-SConstruct
@@ -26,7 +26,15 @@ $NetBSD$
  CORELINKFLAGS = [ ]
  
  # for release build, further optimisations that may not work on all files
-@@ -373,7 +374,7 @@ SConscript( g_build + '/core/glimp/sys/s
+@@ -284,7 +285,6 @@ elif ( BUILD == 'release' ):
+ 	# -finline-functions: implicit at -O3
+ 	# -fschedule-insns2: implicit at -O2
+ 	# -fno-unsafe-math-optimizations: that should be on by default really. hit some wonko bugs in physics code because of that
+-	OPTCPPFLAGS = [ '-g', '-O3', '-ffast-math', '-fno-unsafe-math-optimizations' ] 
+ 	if ( ID_MCHECK == '0' ):
+ 		ID_MCHECK = '2'
+ else:
+@@ -373,7 +373,7 @@ SConscript( g_build + '/core/glimp/sys/s
  VariantDir( g_build + '/core', '.', duplicate = 0 )
  thedarkmod = SConscript( g_build + '/core/sys/scons/SConscript.darkmod' )
  


Home | Main Index | Thread Index | Old Index