File python-2.7.2-fix_date_time_compiler.patch of Package python (Revision 34754a9b3650eeea2668423773df4643)
Currently displaying revision 34754a9b3650eeea2668423773df4643 , Show latest
19
1
--- a/Makefile.pre.in
2
+++ b/Makefile.pre.in
3
4
-DGITVERSION="\"`LC_ALL=C $(GITVERSION)`\"" \
5
-DGITTAG="\"`LC_ALL=C $(GITTAG)`\"" \
6
-DGITBRANCH="\"`LC_ALL=C $(GITBRANCH)`\"" \
7
+ -DDATE="\"`LC_ALL=C date -u -r Makefile.pre.in +"%b %d %Y"`\"" \
8
+ -DTIME="\"`LC_ALL=C date -u -r Makefile.pre.in +"%T"`\"" \
9
-o $@ $(srcdir)/Modules/getbuildinfo.c
10
11
+Python/getcompiler.o: $(srcdir)/Python/getcompiler.c Makefile
12
+ $(CC) -c $(PY_CFLAGS) \
13
+ -DCOMPILER='"[GCC]"' \
14
+ -o $@ $(srcdir)/Python/getcompiler.c
15
+
16
Modules/getpath.o: $(srcdir)/Modules/getpath.c Makefile
17
$(CC) -c $(PY_CFLAGS) -DPYTHONPATH='"$(PYTHONPATH)"' \
18
-DPREFIX='"$(prefix)"' \
19