summaryrefslogtreecommitdiff
path: root/emulators/xtrs/patches/patch-Makefile
blob: 243a0486103ff8003225ad2aa21dd1158a93732d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-Makefile,v 1.3 2014/05/20 12:26:11 obache Exp $

* Honor CFLAGS

--- Makefile.orig	2009-06-15 23:35:20.000000000 +0000
+++ Makefile
@@ -142,7 +142,7 @@ z80code: $(Z80CODE)
 # Local customizations for make variables are done in Makefile.local:
 include Makefile.local
 
-CFLAGS = $(DEBUG) $(ENDIAN) $(DEFAULT_ROM) $(READLINE) $(DISKDIR) $(IFLAGS) \
+CFLAGS += $(DEBUG) $(ENDIAN) $(DEFAULT_ROM) $(READLINE) $(DISKDIR) $(IFLAGS) \
        $(APPDEFAULTS) -DKBWAIT
 LIBS = $(XLIB) $(READLINELIBS) $(EXTRALIBS)