Remove some unneeded globals
This commit is contained in:
parent
07d1426dd4
commit
d9b44f8678
@ -53,9 +53,6 @@ URL: http://pypy.org/
|
||||
# Should we build the emacs JIT-viewing mode?
|
||||
%global with_emacs 1
|
||||
|
||||
# Easy way to enable/disable verbose logging:
|
||||
%global verbose_logs 0
|
||||
|
||||
# Forcibly use the shadow-stack option for detecting GC roots, rather than
|
||||
# relying on hacking up generated assembler with regexps:
|
||||
%global shadow_stack 1
|
||||
@ -63,8 +60,6 @@ URL: http://pypy.org/
|
||||
# Easy way to turn off the selftests:
|
||||
%global run_selftests 1
|
||||
|
||||
%global pylibver 3
|
||||
|
||||
# We refer to this subdir of the source tree in a few places during the build:
|
||||
%global goal_dir pypy/goal
|
||||
|
||||
@ -303,7 +298,7 @@ for f in rpython/translator/goal/bpnn.py ; do
|
||||
done
|
||||
|
||||
# Replace all lib-python and lib_pypy python shebangs with pypy3 (those will be shipped with pypy3-libs)
|
||||
find lib-python/%{pylibver} lib_pypy -name "*.py" -exec \
|
||||
find lib-python/3 lib_pypy -name "*.py" -exec \
|
||||
sed -r -i '1s@^#!\s*/usr/bin.*(python|pypy).*@#!/usr/bin/%{name}@' \
|
||||
"{}" \
|
||||
\;
|
||||
|
Loading…
Reference in New Issue
Block a user