diff options
author | Alejandro Pulver <alepulver@FreeBSD.org> | 2008-04-23 00:45:32 +0000 |
---|---|---|
committer | Alejandro Pulver <alepulver@FreeBSD.org> | 2008-04-23 00:45:32 +0000 |
commit | c01de01b0fcf58f39835a78290ebc7b3311eb8d2 (patch) | |
tree | 5b13f6f25405a98c469c4eb0f84070a0525c8f87 /emulators/mame/files/patch-makefile | |
parent | 0f78cbe7d20b532c8a9e3d1f57710df6b36ec7bb (diff) | |
download | ports-c01de01b0fcf58f39835a78290ebc7b3311eb8d2.tar.gz ports-c01de01b0fcf58f39835a78290ebc7b3311eb8d2.zip |
Notes
Diffstat (limited to 'emulators/mame/files/patch-makefile')
-rw-r--r-- | emulators/mame/files/patch-makefile | 37 |
1 files changed, 19 insertions, 18 deletions
diff --git a/emulators/mame/files/patch-makefile b/emulators/mame/files/patch-makefile index a8b005dca0a4..9305af94f296 100644 --- a/emulators/mame/files/patch-makefile +++ b/emulators/mame/files/patch-makefile @@ -1,6 +1,6 @@ ---- ./makefile.orig Thu Jan 10 01:29:44 2008 -+++ ./makefile Mon Feb 4 13:08:08 2008 -@@ -99,11 +99,13 @@ +--- ./makefile.orig 2008-02-28 12:45:21.000000000 -0200 ++++ ./makefile 2008-04-21 16:24:53.000000000 -0300 +@@ -104,11 +104,13 @@ # uncomment next line to include the internal profiler # PROFILER = 1 @@ -14,7 +14,7 @@ # uncomment next line to build using unix-style libsdl on Mac OS X # (vs. the native framework port). Normal users should not enable this. -@@ -116,7 +118,9 @@ +@@ -121,7 +123,9 @@ #------------------------------------------------- # uncomment next line if you are building for a 64-bit target @@ -25,7 +25,7 @@ # uncomment next line if you are building for a big-endian target # BIGENDIAN = 1 -@@ -189,8 +193,8 @@ +@@ -198,8 +202,8 @@ # compiler, linker and utilities AR = @ar @@ -36,7 +36,7 @@ MD = -mkdir$(EXE) RM = @rm -f -@@ -214,7 +218,7 @@ +@@ -223,7 +227,7 @@ endif # fullname is prefix+name+suffix+debugsuffix @@ -45,7 +45,7 @@ # add an EXE suffix to get the final emulator name EMULATOR = $(FULLNAME)$(EXE) -@@ -279,7 +283,7 @@ +@@ -293,7 +297,7 @@ #------------------------------------------------- # we compile to C89 standard with GNU extensions @@ -54,16 +54,17 @@ # this speeds it up a bit by piping between the preprocessor/compiler/assembler CFLAGS += -pipe -@@ -316,7 +320,7 @@ - # if we are optimizing, include optimization options +@@ -331,9 +335,6 @@ # and make all errors into warnings ifneq ($(OPTIMIZE),0) --CFLAGS += -Werror $(ARCHOPTS) -fno-strict-aliasing -+CFLAGS += $(ARCHOPTS) -fno-strict-aliasing - #CFLAGS += $(ARCHOPTS) -fno-strict-aliasing + CFLAGS += $(ARCHOPTS) -fno-strict-aliasing +-ifneq ($(TARGETOS),os2) +-CFLAGS += -Werror +-endif endif -@@ -342,6 +346,7 @@ + # if symbols are on, make sure we have frame pointers +@@ -358,6 +359,7 @@ -I$(SRC)/lib/util \ -I$(SRC)/osd \ -I$(SRC)/osd/$(OSD) \ @@ -71,12 +72,12 @@ -@@ -352,7 +357,7 @@ - # LDFLAGS are used generally; LDFLAGSEMULATOR are additional - # flags only used when linking the core emulator +@@ -370,7 +372,7 @@ + LDFLAGS = ifneq ($(TARGETOS),macosx) + ifneq ($(TARGETOS),os2) -LDFLAGS = -Wl,--warn-common +LDFLAGS = -Wl,--warn-common $(PTHREAD_LIBS) -L$(LOCALBASE)/lib - else - LDFLAGS = endif + endif + LDFLAGSEMULATOR = |