diff options
author | Eugene Sandulenko | 2016-09-10 20:44:30 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2016-09-10 20:44:30 +0200 |
commit | 7871874dab045b012d8a6f48fe1fb642eb0f68a6 (patch) | |
tree | 4fc012353fc00a1f788a72e567c47c74a53a7bf0 /Makefile.common | |
parent | d973b2314dc3ac51ed727a18f3363e04ad6db8c7 (diff) | |
download | scummvm-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.common | 5 |
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 ###################################################################### |