summarylogtreecommitdiffstats
path: root/package.patch
blob: 889def69a09ce38490cf6b03e2f081c9b2811b25 (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
diff --unified --recursive a/bsnes/GNUmakefile b/bsnes/GNUmakefile
--- a/bsnes/GNUmakefile	2023-06-10 21:22:40.000000000 +1200
+++ b/bsnes/GNUmakefile	2023-06-19 02:17:42.089821400 +1200
@@ -1,6 +1,9 @@
+flags = $(CFLAGS)
+options = $(LDFLAGS)
+
 target := bsnes
 binary := application
-build := performance
+build := release
 openmp := true
 local := true
 flags += -I. -I..
diff --unified --recursive a/bsnes/target-bsnes/GNUmakefile b/bsnes/target-bsnes/GNUmakefile
--- a/bsnes/target-bsnes/GNUmakefile	2023-06-10 21:22:40.000000000 +1200
+++ b/bsnes/target-bsnes/GNUmakefile	2023-06-19 02:17:42.106408200 +1200
@@ -40,8 +40,6 @@
 
 install: all
 ifeq ($(platform),windows)
-else ifeq ($(shell id -un),root)
-	$(error "make install should not be run as root")
 else ifeq ($(platform),macos)
 	mkdir -p ~/Library/Application\ Support/$(name)/
 	mkdir -p ~/Library/Application\ Support/$(name)/Database/