summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Makefile2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e5b3e28d..081d5e6f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2009-11-23 Kaz Kylheku <kkylheku@gmail.com>
+ * Makefile (conftest.o): revert change that took CFLAGS from
+ this target.
+
+2009-11-23 Kaz Kylheku <kkylheku@gmail.com>
+
* configure: Don't rely on higher precision arithmetic from the build
machine's shell. POSIX requires shell arithmetic to be only signed
long. We can't compute the INT_PTR_MAX constant in the shell, but
diff --git a/Makefile b/Makefile
index 09f19439..dfdfe7b4 100644
--- a/Makefile
+++ b/Makefile
@@ -110,7 +110,7 @@ conftest: conftest.c
$(CC) $(CFLAGS) -o $@ $^
conftest.o: conftest.c
- $(CC) $(CFLAGS) -o $@ $^
+ $(CC) -c -o $@ $^
conftest.syms: conftest.o
$(NM) -t o -P $^ > $@