summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnas Nashif <anas.nashif@intel.com>2012-11-07 07:29:36 -0800
committerChanho Park <chanho61.park@samsung.com>2014-08-19 19:37:01 +0900
commitba69180620bf2d37133431f3d384f71c47cffed3 (patch)
tree1096e4b94fefe18171797175b17f99b04a7725c3
parentb7e87c0127fb918554692ed827e220e5e10a7890 (diff)
downloadpython-ba69180620bf2d37133431f3d384f71c47cffed3.tar.gz
python-ba69180620bf2d37133431f3d384f71c47cffed3.tar.bz2
python-ba69180620bf2d37133431f3d384f71c47cffed3.zip
python-2.7.2-fix_date_time_compiler
-rw-r--r--Makefile.pre.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in
index 4c607f3..a5a2bb3 100644
--- a/Makefile.pre.in
+++ b/Makefile.pre.in
@@ -576,8 +576,15 @@ Modules/getbuildinfo.o: $(PARSER_OBJS) \
-DHGVERSION="\"`LC_ALL=C $(HGVERSION)`\"" \
-DHGTAG="\"`LC_ALL=C $(HGTAG)`\"" \
-DHGBRANCH="\"`LC_ALL=C $(HGBRANCH)`\"" \
+ -DDATE="\"`LC_ALL=C date -u -r Makefile.pre.in +"%b %d %Y"`\"" \
+ -DTIME="\"`LC_ALL=C date -u -r Makefile.pre.in +"%T"`\"" \
-o $@ $(srcdir)/Modules/getbuildinfo.c
+Python/getcompiler.o: $(srcdir)/Python/getcompiler.c Makefile
+ $(CC) -c $(PY_CFLAGS) \
+ -DCOMPILER='"[GCC]"' \
+ -o $@ $(srcdir)/Python/getcompiler.c
+
Modules/getpath.o: $(srcdir)/Modules/getpath.c Makefile
$(CC) -c $(PY_CFLAGS) -DPYTHONPATH='"$(PYTHONPATH)"' \
-DPREFIX='"$(prefix)"' \