mirror of
https://github.com/python/cpython
synced 2026-09-29 10:30:29 +03:00
* configure.in, */Makefile*.in: OPT can now be specified in the
env at configure time and will then be put in all Makefiles as default * */Makefile*.in: remove lib*.a before adding to it
This commit is contained in:
parent
c561e5dd58
commit
f0171a1626
1 changed files with 2 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ DEFS= @DEFS@
|
|||
# === Other things that are customizable but not by configure ===
|
||||
|
||||
INCLDIR= $(srcdir)/../Include
|
||||
OPT= -O
|
||||
OPT= @OPT@
|
||||
CFLAGS= $(OPT) -I$(INCLDIR) -I.. $(DEFS)
|
||||
|
||||
MKDEP= mkdep
|
||||
|
|
@ -48,6 +48,7 @@ LIB= libObjects.a
|
|||
all: $(LIB)
|
||||
|
||||
$(LIB): $(OBJS)
|
||||
-rm -f $(LIB)
|
||||
$(AR) cr $(LIB) $(OBJS)
|
||||
$(RANLIB) $(LIB)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue