aboutsummaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorEugene Sandulenko2016-09-10 20:44:30 +0200
committerEugene Sandulenko2016-09-10 20:44:30 +0200
commit7871874dab045b012d8a6f48fe1fb642eb0f68a6 (patch)
tree4fc012353fc00a1f788a72e567c47c74a53a7bf0 /Makefile.common
parentd973b2314dc3ac51ed727a18f3363e04ad6db8c7 (diff)
downloadscummvm-rg350-7871874dab045b012d8a6f48fe1fb642eb0f68a6.tar.gz
scummvm-rg350-7871874dab045b012d8a6f48fe1fb642eb0f68a6.tar.bz2
scummvm-rg350-7871874dab045b012d8a6f48fe1fb642eb0f68a6.zip
DM: Another attempt for compilation fixes on older compilers
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common
index a1f43128a2..1c6403db0d 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -182,10 +182,13 @@ else
GITROOT := git://github.com/scummvm/scummvm.git
endif
+# Amiga needs date in another format
+AMIGA_DATE = $(shell date '+%d.%m.%Y')
+
# Define the Subversion revision if available, either autodetected or
# specified by the user, but only for base/version.cpp.
ifneq ($(origin VER_REV), undefined)
-base/version.o: CXXFLAGS:=$(CXXFLAGS) -DSCUMMVM_REVISION=\"$(VER_REV)\"
+base/version.o: CXXFLAGS:=$(CXXFLAGS) -DSCUMMVM_REVISION=\"$(VER_REV)\" -DAMIGA_DATE=\"$(AMIGA_DATE)\"
endif
######################################################################