summaryrefslogtreecommitdiff
path: root/emulators/fmsx/files/patch-EMULib_Rules.gcc
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2014-01-31 15:36:17 +0000
committerRene Ladan <rene@FreeBSD.org>2014-01-31 15:36:17 +0000
commit0de3d6d8e4e2ade7e1355606147c501164a1158c (patch)
tree035157d8ad105ac3ecd3d3677bf5c0207d15f31a /emulators/fmsx/files/patch-EMULib_Rules.gcc
parent- Stage support (diff)
emulators/fmsx:
- Update to 3.7 and unbreak - Remove www.mavetju.org as mirror - Stagify - Synchronize LEGAL with port text
Notes
Notes: svn path=/head/; revision=342008
Diffstat (limited to 'emulators/fmsx/files/patch-EMULib_Rules.gcc')
-rw-r--r--emulators/fmsx/files/patch-EMULib_Rules.gcc18
1 files changed, 13 insertions, 5 deletions
diff --git a/emulators/fmsx/files/patch-EMULib_Rules.gcc b/emulators/fmsx/files/patch-EMULib_Rules.gcc
index 3bdd04f2c516..938b99b03354 100644
--- a/emulators/fmsx/files/patch-EMULib_Rules.gcc
+++ b/emulators/fmsx/files/patch-EMULib_Rules.gcc
@@ -1,11 +1,19 @@
---- EMULib/Rules.gcc.orig 2013-12-20 20:52:16.000000000 +0100
-+++ EMULib/Rules.gcc 2013-12-20 20:52:22.000000000 +0100
-@@ -6,7 +6,7 @@
+--- EMULib/Rules.gcc.orig 2014-01-31 00:39:34.000000000 +0700
++++ EMULib/Rules.gcc 2014-01-31 00:40:38.000000000 +0700
+@@ -6,12 +6,12 @@
LIBGBZ = $(BASEDIR)/GBZ80
PRIVATE = $(BASEDIR)/Private
+-CXX = g++
-CC = gcc
+-CPP = cpp
++CXX ?= g++
+CC ?= gcc
- CPP = cpp
- CFLAGS = -O3 -pthread -I.. -I$(EMULIB)
++CPP ?= cpp
+ MOC = moc
+ SDT2GAS = perl $(EMULIB)/Tools/sdt2gas.pl
+-CFLAGS = -O2 -pthread -I. -I.. -I$(EMULIB)
++CFLAGS += -O2 -pthread -I. -I.. -I$(EMULIB)
DEFINES = -DZLIB
+ LIBS = -lz -lpthread
+