Skip to content

Commit e438b4c

Browse files
Revert most of the + to the bare minimum
1 parent 6257b0e commit e438b4c

File tree

3 files changed

+6
-51
lines changed

3 files changed

+6
-51
lines changed

Makefile.pre.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -968,7 +968,7 @@ clinic-tests: check-clean-src $(srcdir)/Lib/test/clinic.test.c
968968

969969
# Build the interpreter
970970
$(BUILDPYTHON): Programs/python.o $(LINK_PYTHON_DEPS)
971-
$(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/python.o $(LINK_PYTHON_OBJS) $(LIBS) $(MODLIBS) $(SYSLIBS)
971+
+$(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/python.o $(LINK_PYTHON_OBJS) $(LIBS) $(MODLIBS) $(SYSLIBS)
972972

973973
platform: $(PYTHON_FOR_BUILD_DEPS) pybuilddir.txt
974974
$(RUNSHARED) $(PYTHON_FOR_BUILD) -c 'import sys ; from sysconfig import get_platform ; print("%s-%d.%d" % (get_platform(), *sys.version_info[:2]))' >platform
@@ -1608,7 +1608,7 @@ regen-re: $(BUILDPYTHON)
16081608
$(RUNSHARED) ./$(BUILDPYTHON) $(srcdir)/Tools/build/generate_re_casefix.py $(srcdir)/Lib/re/_casefix.py
16091609

16101610
Programs/_testembed: Programs/_testembed.o $(LINK_PYTHON_DEPS)
1611-
$(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/_testembed.o $(LINK_PYTHON_OBJS) $(LIBS) $(MODLIBS) $(SYSLIBS)
1611+
+$(LINKCC) $(PY_CORE_LDFLAGS) $(LINKFORSHARED) -o $@ Programs/_testembed.o $(LINK_PYTHON_OBJS) $(LIBS) $(MODLIBS) $(SYSLIBS)
16121612

16131613
############################################################################
16141614
# "Bootstrap Python" used to run Programs/_freeze_module.py
@@ -1707,7 +1707,7 @@ Programs/_freeze_module.o: Programs/_freeze_module.c Makefile
17071707
Modules/getpath_noop.o: $(srcdir)/Modules/getpath_noop.c Makefile
17081708

17091709
Programs/_freeze_module: Programs/_freeze_module.o Modules/getpath_noop.o $(LIBRARY_OBJS_OMIT_FROZEN)
1710-
$(LINKCC) $(PY_CORE_LDFLAGS) -o $@ Programs/_freeze_module.o Modules/getpath_noop.o $(LIBRARY_OBJS_OMIT_FROZEN) $(LIBS) $(MODLIBS) $(SYSLIBS)
1710+
+$(LINKCC) $(PY_CORE_LDFLAGS) -o $@ Programs/_freeze_module.o Modules/getpath_noop.o $(LIBRARY_OBJS_OMIT_FROZEN) $(LIBS) $(MODLIBS) $(SYSLIBS)
17111711

17121712
# We manually freeze getpath.py rather than through freeze_modules
17131713
Python/frozen_modules/getpath.h: Modules/getpath.py $(FREEZE_MODULE_BOOTSTRAP_DEPS)

configure

Lines changed: 2 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2031,11 +2031,7 @@ if test "$Py_LTO" = 'true' ; then
20312031
LTOCFLAGS="-flto"
20322032
;;
20332033
*)
2034-
AX_CHECK_COMPILE_FLAG(
2035-
[-flto=auto],
2036-
[LTOFLAGS="-flto=auto -fuse-linker-plugin -ffat-lto-objects"],
2037-
[LTOFLAGS="-flto -fuse-linker-plugin -ffat-lto-objects"]
2038-
)
2034+
LTOFLAGS="-flto -fuse-linker-plugin -ffat-lto-objects"
20392035
;;
20402036
esac
20412037
;;

0 commit comments

Comments
 (0)