pkgsrc-WIP-changes archive

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

libretro-px68k: avoid forcing -O3



Module Name:	pkgsrc-wip
Committed By:	nia <nia%NetBSD.org@localhost>
Pushed By:	nee
Date:		Wed Aug 15 16:35:38 2018 +0100
Changeset:	5175fbc274a40e60000a1dd8c5018ce888c4efb9

Modified Files:
	libretro-px68k/distinfo
	libretro-px68k/patches/patch-Makefile.libretro

Log Message:
libretro-px68k: avoid forcing -O3

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

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

diffstat:
 libretro-px68k/distinfo                        |  2 +-
 libretro-px68k/patches/patch-Makefile.libretro | 12 ++++++++++--
 2 files changed, 11 insertions(+), 3 deletions(-)

diffs:
diff --git a/libretro-px68k/distinfo b/libretro-px68k/distinfo
index 57eec58147..bf3d992dfa 100644
--- a/libretro-px68k/distinfo
+++ b/libretro-px68k/distinfo
@@ -4,4 +4,4 @@ SHA1 (libretro-px68k-20170806-8f6be979ca47396e5b692d288b31825fb1d45c92.tar.gz) =
 RMD160 (libretro-px68k-20170806-8f6be979ca47396e5b692d288b31825fb1d45c92.tar.gz) = f1c3220f4462576aec2ac75ee866802d9e6fb30f
 SHA512 (libretro-px68k-20170806-8f6be979ca47396e5b692d288b31825fb1d45c92.tar.gz) = 1f8a9a24b8811a3e9e737ccdd3aa58be466484ab65869d099c91e20db5183f3d099f9298c65ec2a3599ff18b51ed240af5b55f3b95a935c20cd22d800612b55c
 Size (libretro-px68k-20170806-8f6be979ca47396e5b692d288b31825fb1d45c92.tar.gz) = 491688 bytes
-SHA1 (patch-Makefile.libretro) = 0e79ee53f5ef7c0107644122ee92e9983ac3ee87
+SHA1 (patch-Makefile.libretro) = bc3ef3305630636f4991d5522626c14163198b7a
diff --git a/libretro-px68k/patches/patch-Makefile.libretro b/libretro-px68k/patches/patch-Makefile.libretro
index 4719c7c65f..6a9d0de137 100644
--- a/libretro-px68k/patches/patch-Makefile.libretro
+++ b/libretro-px68k/patches/patch-Makefile.libretro
@@ -1,8 +1,8 @@
 $NetBSD$
 
-Don't override CFLAGS
+Don't override CFLAGS.
 
---- Makefile.libretro.orig	2017-07-31 10:39:04.000000000 +0000
+--- Makefile.libretro.orig	2017-08-06 14:04:20.000000000 +0000
 +++ Makefile.libretro
 @@ -39,8 +39,7 @@ ENDIANNESS_DEFINES :=
  CORE_DIR := .
@@ -14,3 +14,11 @@ Don't override CFLAGS
  	TARGET := $(TARGET_NAME)_libretro.so
  	fpic := -fPIC
  	SHARED := -shared -Wl,--no-undefined -Wl,--version-script=link.T
+@@ -121,7 +120,6 @@ OBJECTS := $(SOURCES_CXX:.cpp=.o) $(SOUR
+ all: $(TARGET)
+ 
+ ifeq ($(DEBUG), 0)
+-   FLAGS += -O3 -ffast-math -fomit-frame-pointer
+ else
+    FLAGS += -O0 -g
+ endif


Home | Main Index | Thread Index | Old Index