summaryrefslogtreecommitdiff
path: root/emulators/m2000/files/patch-Makefile.X
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/m2000/files/patch-Makefile.X')
-rw-r--r--emulators/m2000/files/patch-Makefile.X4
1 files changed, 2 insertions, 2 deletions
diff --git a/emulators/m2000/files/patch-Makefile.X b/emulators/m2000/files/patch-Makefile.X
index 955af5f915ee..60891bf0c96d 100644
--- a/emulators/m2000/files/patch-Makefile.X
+++ b/emulators/m2000/files/patch-Makefile.X
@@ -10,12 +10,12 @@
+LD ?= gcc # Linker used
-CFLAGS = -Wall -fomit-frame-pointer -O2 -I/usr/X11/include \
-+CFLAGS += -Wall -fomit-frame-pointer -O2 -I${X11BASE}/include \
++CFLAGS += -Wall -fomit-frame-pointer -O2 -I${LOCALBASE}/include \
-DLSB_FIRST -DHAVE_FTRUNCATE -DHAVE_CLOCK -DUNIX_X \
-DSOUND -DMITSHM
-LFLAGS = -s -L/usr/X11/lib
-+LFLAGS += -L${X11BASE}/lib
++LFLAGS += -L${LOCALBASE}/lib
OBJECTS = M2000.o P2000.o Z80.o Z80Debug.o \
Unix.o X.o