diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2014-12-09 21:47:40 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2014-12-10 00:52:17 +0000 |
commit | 9d1545efee73ec834b051c50a1bc0d2a63d8765b (patch) | |
tree | 4ee14ac07912f52dadd163527f5e54cba91b5373 /doc/specs | |
parent | 8da3f3c38e075498a24fb9db80ae9862bda7154d (diff) | |
download | pam-9d1545efee73ec834b051c50a1bc0d2a63d8765b.tar.gz pam-9d1545efee73ec834b051c50a1bc0d2a63d8765b.tar.bz2 pam-9d1545efee73ec834b051c50a1bc0d2a63d8765b.zip |
build: extend cross compiling check to cover CPPFLAGS (ticket #21)
Use BUILD_CPPFLAGS variable to override CPPFLAGS where necessary in
case of cross compiling, in addition to CC_FOR_BUILD, BUILD_CFLAGS,
and BUILD_LDFLAGS variables introduced earlier to override CC,
CFLAGS, and LDFLAGS, respectively.
* configure.in (BUILD_CPPFLAGS): Define.
* doc/specs/Makefile.am (CPPFLAGS): Define to @BUILD_CPPFLAGS@.
Diffstat (limited to 'doc/specs')
-rw-r--r-- | doc/specs/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/specs/Makefile.am b/doc/specs/Makefile.am index 36d53baf..99ecc70e 100644 --- a/doc/specs/Makefile.am +++ b/doc/specs/Makefile.am @@ -12,6 +12,7 @@ draft-morgan-pam-current.txt: padout draft-morgan-pam.raw AM_YFLAGS = -d CC = @CC_FOR_BUILD@ +CPPFLAGS = @BUILD_CPPFLAGS@ CFLAGS = @BUILD_CFLAGS@ LDFLAGS = @BUILD_LDFLAGS@ |