summaryrefslogtreecommitdiff
path: root/Make.config.template
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-10-09 10:43:28 +0200
committerKlaus Schmidinger <vdr@tvdr.de>2012-10-09 10:43:28 +0200
commit7f7fa7fd902c819f616312489dbe882f3bc1edfa (patch)
tree51cb124a1464234157e966f088900367da007bad /Make.config.template
parent0aae0d9cf7d94644883c60810dcd423c01dfb381 (diff)
downloadvdr-7f7fa7fd902c819f616312489dbe882f3bc1edfa.tar.gz
vdr-7f7fa7fd902c819f616312489dbe882f3bc1edfa.tar.bz2
Added options to build a 32-bit version of VDR on a 64-bit machine to Make.config.template
Diffstat (limited to 'Make.config.template')
-rw-r--r--Make.config.template8
1 files changed, 7 insertions, 1 deletions
diff --git a/Make.config.template b/Make.config.template
index ef463b13..08f9ece8 100644
--- a/Make.config.template
+++ b/Make.config.template
@@ -6,7 +6,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: Make.config.template 2.9 2012/09/01 10:31:33 kls Exp $
+# $Id: Make.config.template 2.10 2012/10/09 10:32:32 kls Exp $
### The C compiler and options:
@@ -21,6 +21,12 @@ CFLAGS += -fPIC
CXXFLAGS += -fPIC
endif
+# Use 'make M32=1 ...' to build a 32-bit version of VDR on a 64-bit machine:
+ifdef M32
+CFLAGS += -m32
+CXXFLAGS += -m32
+endif
+
### The directory environment:
PREFIX = $(DESTDIR)/usr/local