equal
deleted
inserted
replaced
2 Studio instead of gcc. The unfortunate repetition of options seen below |
2 Studio instead of gcc. The unfortunate repetition of options seen below |
3 is a workaround for build peculiarities and to meet Studio's requirement |
3 is a workaround for build peculiarities and to meet Studio's requirement |
4 that the profiling options be used at all steps of the build -- not just |
4 that the profiling options be used at all steps of the build -- not just |
5 compilation. As it is Solaris-specific, it is not suitable for upstream. |
5 compilation. As it is Solaris-specific, it is not suitable for upstream. |
6 |
6 |
7 --- Python-2.7.8/Makefile.pre.in.~2~ 2014-07-17 20:46:10.626664937 -0700 |
7 --- Python-2.7.9/Makefile.pre.in.~2~ 2014-12-11 09:26:43.160400840 -0800 |
8 +++ Python-2.7.8/Makefile.pre.in 2014-07-17 20:46:10.736821411 -0700 |
8 +++ Python-2.7.9/Makefile.pre.in 2014-12-11 09:26:43.287536256 -0800 |
9 @@ -413,28 +413,37 @@ |
9 @@ -416,28 +416,37 @@ |
10 profile-opt: |
10 profile-opt: |
11 @echo "Building with support for profile generation:" |
11 @echo "Building with support for profile generation:" |
12 $(MAKE) clean |
12 $(MAKE) clean |
13 + $(MAKE) profile-removal |
13 + $(MAKE) profile-removal |
14 $(MAKE) build_all_generate_profile |
14 $(MAKE) build_all_generate_profile |
47 + LDFLAGS="$(LDFLAGS) -xprofile=tcov" \ |
47 + LDFLAGS="$(LDFLAGS) -xprofile=tcov" \ |
48 + BLDSHARED="$(BLDSHARED) -xprofile=tcov" |
48 + BLDSHARED="$(BLDSHARED) -xprofile=tcov" |
49 |
49 |
50 |
50 |
51 # Build the interpreter |
51 # Build the interpreter |
52 @@ -1298,7 +1307,7 @@ |
52 @@ -1331,7 +1340,7 @@ |
53 -rm -f Lib/lib2to3/*Grammar*.pickle |
53 -rm -f Lib/lib2to3/*Grammar*.pickle |
54 |
54 |
55 profile-removal: |
55 profile-removal: |
56 - find . -name '*.gc??' -exec rm -f {} ';' |
56 - find . -name '*.gc??' -exec rm -f {} ';' |
57 + find . -name '.profile' -exec rm -rf {} ';' |
57 + find . -name '.profile' -exec rm -rf {} ';' |