summarylogtreecommitdiffstats
path: root/package.patch
blob: 8512d3fd1f22171d9b64d3da5a54c5faac245e29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
diff --unified --recursive bsnes_v108-source.orig/bsnes/GNUmakefile bsnes_v108-source.new/bsnes/GNUmakefile
--- bsnes_v108-source.orig/bsnes/GNUmakefile	2019-03-10 01:42:30.163599022 -0700
+++ bsnes_v108-source.new/bsnes/GNUmakefile	2019-03-10 01:45:20.179375447 -0700
@@ -1,6 +1,9 @@
+flags = $(CFLAGS)
+options = $(LDFLAGS)
+
 target := bsnes
 binary := application
-build := performance
+build := release
 openmp := true
 flags += -I. -I..
 

diff --unified --recursive bsnes_v108-source.orig/bsnes/target-bsnes/GNUmakefile bsnes_v108-source.new/bsnes/target-bsnes/GNUmakefile
--- bsnes_v108-source.orig/bsnes/target-bsnes/GNUmakefile	2019-03-10 01:51:07.601683406 -0700
+++ bsnes_v108-source.new/bsnes/target-bsnes/GNUmakefile	2019-03-10 01:52:00.013706440 -0700
@@ -34,9 +34,7 @@
 verbose: hiro.verbose ruby.verbose nall.verbose all;
 
 install: all
-ifeq ($(shell id -un),root)
-	$(error "make install should not be run as root")
-else ifeq ($(platform),windows)
+ifeq ($(platform),windows)
 else ifeq ($(platform),macos)
 	mkdir -p ~/Library/Application\ Support/$(name)/
 	cp -R out/$(name).app /Applications/$(name).app