mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
* Modules/Setup.*: removed all except Setup.in (huh? I thought
I'd done that already?!); disable gdbm by default * 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
aa0f4c73e5
commit
794b93ea8a
2 changed files with 3 additions and 2 deletions
|
|
@ -34,7 +34,7 @@ prefix= /usr/local
|
|||
# === Variables that are customizable by hand ===
|
||||
|
||||
INCLDIR= $(srcdir)/../Include
|
||||
OPT= -O
|
||||
OPT= @OPT@
|
||||
CFLAGS= $(OPT) -I$(INCLDIR) -I.. $(DEFS)
|
||||
|
||||
MKDEP= mkdep
|
||||
|
|
@ -61,6 +61,7 @@ SYSLIBS= $(LIBM) $(LIBC)
|
|||
all: $(LIB) ../python
|
||||
|
||||
$(LIB): $(OBJS)
|
||||
-rm -f $(LIB)
|
||||
$(AR) cr $(LIB) $(OBJS)
|
||||
$(RANLIB) $(LIB)
|
||||
|
||||
|
|
|
|||
|
|
@ -205,7 +205,7 @@ rotor rotormodule.o
|
|||
|
||||
# Anthony Baxter's gdbm module (derived from Jack's dbm module)
|
||||
# GNU dbm(3) will require -lgdbm
|
||||
gdbm gdbmmodule.o -I/usr/local/include -L/usr/local/lib -lgdbm
|
||||
# gdbm gdbmmodule.o -I/usr/local/include -L/usr/local/lib -lgdbm
|
||||
|
||||
|
||||
# Example -- included for reference only
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue