build: fix -I options
* configure.ac (AM_INIT_AUTOMAKE): Add nostdinc. * Makefile.am (AM_CPPFLAGS): Append -I$(builddir) and -I$(srcdir). * tests/Makefile.am (AM_CPPFLAGS): Likewise.
This commit is contained in:
parent
f56046e459
commit
cf3ecbdd5f
@ -21,7 +21,9 @@ AM_CFLAGS = $(WARN_CFLAGS)
|
||||
AM_CPPFLAGS = -I$(builddir)/$(OS)/$(ARCH) \
|
||||
-I$(srcdir)/$(OS)/$(ARCH) \
|
||||
-I$(builddir)/$(OS) \
|
||||
-I$(srcdir)/$(OS)
|
||||
-I$(srcdir)/$(OS) \
|
||||
-I$(builddir) \
|
||||
-I$(srcdir)
|
||||
|
||||
include xlat/Makemodule.am
|
||||
|
||||
|
@ -6,7 +6,7 @@ AC_INIT([strace],
|
||||
AC_CONFIG_SRCDIR([strace.c])
|
||||
AC_CONFIG_AUX_DIR([.])
|
||||
AC_CONFIG_HEADERS([config.h])
|
||||
AM_INIT_AUTOMAKE([foreign dist-xz no-dist-gzip silent-rules parallel-tests])
|
||||
AM_INIT_AUTOMAKE([foreign nostdinc dist-xz no-dist-gzip silent-rules parallel-tests])
|
||||
AM_MAINTAINER_MODE
|
||||
AC_CANONICAL_HOST
|
||||
|
||||
|
@ -6,7 +6,9 @@ AM_CFLAGS = $(WARN_CFLAGS)
|
||||
AM_CPPFLAGS = -I$(top_builddir)/$(OS)/$(ARCH) \
|
||||
-I$(top_srcdir)/$(OS)/$(ARCH) \
|
||||
-I$(top_builddir)/$(OS) \
|
||||
-I$(top_srcdir)/$(OS)
|
||||
-I$(top_srcdir)/$(OS) \
|
||||
-I$(top_builddir) \
|
||||
-I$(top_srcdir)
|
||||
|
||||
check_PROGRAMS = \
|
||||
aio \
|
||||
|
Loading…
x
Reference in New Issue
Block a user