summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Makefile.pre.in3
-rw-r--r--Modules/Setup.in2
2 files changed, 3 insertions, 2 deletions
diff --git a/Modules/Makefile.pre.in b/Modules/Makefile.pre.in
index 847412f..c05f4d7 100644
--- a/Modules/Makefile.pre.in
+++ b/Modules/Makefile.pre.in
@@ -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)
diff --git a/Modules/Setup.in b/Modules/Setup.in
index 04157d4..82a26cc 100644
--- a/Modules/Setup.in
+++ b/Modules/Setup.in
@@ -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