diff options
-rw-r--r-- | Makefile.am | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am index d9cc4239..df146dff 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 |