summaryrefslogtreecommitdiffstats
path: root/games/higan/higan-flags.diff
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-23 17:18:15 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2021-06-01 21:47:45 +0700
commitf5cc4d14ad14fa990187a44d9219cc2838fde179 (patch)
treecb2c97998ebadf82628922abe1860b0a15603cee /games/higan/higan-flags.diff
parentaa6959cb5bc0e6d5e0720201c4e5ae51baa47bc1 (diff)
downloadslackbuilds-f5cc4d14ad14fa990187a44d9219cc2838fde179.tar.gz
slackbuilds-f5cc4d14ad14fa990187a44d9219cc2838fde179.tar.xz
games/higan: Updated for version 110.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/higan/higan-flags.diff')
-rw-r--r--games/higan/higan-flags.diff66
1 files changed, 20 insertions, 46 deletions
diff --git a/games/higan/higan-flags.diff b/games/higan/higan-flags.diff
index aaca8d0e2f..890a2c0bc2 100644
--- a/games/higan/higan-flags.diff
+++ b/games/higan/higan-flags.diff
@@ -1,49 +1,23 @@
-diff -rupN higan_v106-source.orig/higan/GNUmakefile higan_v106-source/higan/GNUmakefile
---- higan_v106-source.orig/higan/GNUmakefile 2017-12-27 23:12:21.263872763 +0100
-+++ higan_v106-source/higan/GNUmakefile 2017-12-27 23:12:30.243627883 +0100
-@@ -1,4 +1,4 @@
--build := optimize
-+build := release
- include ../nall/GNUmakefile
+From 6d0f100d25fecae89a48c76f55371730a51c10fe Mon Sep 17 00:00:00 2001
+From: Maxime Gauduin <alucryd@archlinux.org>
+Date: Wed, 18 Mar 2020 17:08:25 +0100
+Subject: [PATCH] use system flags
+
+---
+ nall/GNUmakefile | 3 ++-
+ 1 file changed, 2 insertions(+), 1 deletion(-)
+
+diff --git a/nall/GNUmakefile b/nall/GNUmakefile
+index 67fb3a15..fddec93d 100755
+--- a/nall/GNUmakefile
++++ b/nall/GNUmakefile
+@@ -127,7 +127,8 @@ endif
- binary := application
-@@ -26,7 +26,6 @@ else ifneq ($(filter $(platform),linux b
- flags += -fopenmp
- link += -fopenmp
- ifeq ($(binary),application)
-- flags += -march=native
- link += -Wl,-export-dynamic
- link += -lX11 -lXext
- else ifeq ($(binary),library)
-diff -rupN higan_v106-source.orig/icarus/GNUmakefile higan_v106-source/icarus/GNUmakefile
---- higan_v106-source.orig/icarus/GNUmakefile 2017-12-27 23:12:21.280538976 +0100
-+++ higan_v106-source/icarus/GNUmakefile 2017-12-27 23:12:30.243627883 +0100
-@@ -1,4 +1,4 @@
--build := optimize
-+build := release
- include ../nall/GNUmakefile
- include ../hiro/GNUmakefile
-
-diff -rupN higan_v106-source.orig/nall/GNUmakefile higan_v106-source/nall/GNUmakefile
---- higan_v106-source.orig/nall/GNUmakefile 2017-12-27 23:12:21.283872217 +0100
-+++ higan_v106-source/nall/GNUmakefile 2017-12-27 23:12:44.326577547 +0100
-@@ -40,8 +40,8 @@ cflags := -x c -std=c11
- objcflags := -x objective-c -std=c11
- cppflags := -x c++ -std=c++14
- objcppflags := -x objective-c++ -std=c++14
--flags :=
--link :=
-+flags := $(CXXFLAGS)
-+link := $(LDFLAGS)
-
- # compiler detection
- ifeq ($(compiler),)
-@@ -120,7 +120,7 @@ ifeq ($(threaded),true)
+ # linux settings
+ ifeq ($(platform),linux)
+- options += -ldl
++ flags += ${CXXFLAGS}
++ options += ${LDFLAGS} -ldl
endif
- # paths
--prefix := $(HOME)/.local
-+prefix := /usr
-
- # function rwildcard(directory, pattern)
- rwildcard = \
+ # bsd settings