summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--Makefile.am9
2 files changed, 10 insertions, 5 deletions
diff --git a/ChangeLog b/ChangeLog
index 0c3a8cf..b647379 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2008-02-21 Neal H. Walfield <neal@gnu.org>
+
+ * Makefile.am (AM_CPPFLAGS): Replace use of includes with
+ $(USER_CPPFLAGS).
+ (AM_CFLAGS): New variable.
+
2008-02-16 Neal H. Walfield <neal@gnu.org>
* sysdeps/l4/hurd/ia32/pt-setup.c (stack_setup): Add correct casts
diff --git a/Makefile.am b/Makefile.am
index d9cc423..df146df 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -38,10 +38,9 @@ SYSDEP_PATH = $(srcdir)/sysdeps/l4/hurd/${arch} \
$(srcdir)/include
vpath %.c $(SYSDEP_PATH)
-AM_CPPFLAGS = -std=gnu99 -Wall -g -O3 -I$(LIBC)/include \
--I$(top_builddir)/include -D_GNU_SOURCE=1 -I$(srcdir)/pthread \
--I$(top_srcdir)/libc-parts $(addprefix -I, $(SYSDEP_PATH)) -imacros \
-$(srcdir)/include/libc-symbols.h
+AM_CPPFLAGS = $(USER_CPPFLAGS) -I$(srcdir)/pthread \
+ $(addprefix -I, $(SYSDEP_PATH)) -imacros $(srcdir)/include/libc-symbols.h
+AM_CFLAGS = $(USER_CFLAGS)
# Sources.
SYSDEPS := lockfile.c
@@ -130,4 +129,4 @@ libpthread_a_SOURCES = pt-attr.c pt-attr-destroy.c pt-attr-getdetachstate.c \
pt-getschedparam.c pt-setschedparam.c pt-setschedprio.c \
sem-close.c sem-init.c sem-timedwait.c sem-wait.c \
sem-destroy.c sem-open.c sem-trywait.c sem-getvalue.c \
- sem-post.c sem-unlink.c \ No newline at end of file
+ sem-post.c sem-unlink.c