Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2011-12-22 20:19:18 +1000
committerDan McGee <dan@archlinux.org>2012-05-20 18:58:17 -0500
commit8abef73ba99d183c191732686b4feab75a644b32 (patch)
tree7654ee62586deca92062babb5353b2dcbd0f5681 /doc
parentc4ea4e017fc35fe8c5057b86bab0a95dac75fc6f (diff)
makepkg: Add CPPFLAGS support
Add CPPFLAGS support in addition to the current CFLAGS and CXXFLAGS. This keeps compiler flags split up in the same logical way done everywhere else. Signed-off-by: Allan McRae <allan@archlinux.org> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'doc')
-rw-r--r--doc/PKGBUILD.5.txt8
-rw-r--r--doc/makepkg.conf.5.txt3
2 files changed, 7 insertions, 4 deletions
diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt
index eefdbd4b..384af7cb 100644
--- a/doc/PKGBUILD.5.txt
+++ b/doc/PKGBUILD.5.txt
@@ -254,10 +254,10 @@ A normal sync or upgrade will not use its value.
with distcc.
*buildflags*;;
- Allow the use of user-specific buildflags (CFLAGS, CXXFLAGS, LDFLAGS)
- during build as specified in linkman:makepkg.conf[5]. More useful in
- its negative form `!buildflags` with select packages that have problems
- building with custom buildflags.
+ Allow the use of user-specific buildflags (CPPFLAGS, CFLAGS, CXXFLAGS,
+ LDFLAGS) during build as specified in linkman:makepkg.conf[5]. More
+ useful in its negative form `!buildflags` with select packages that
+ have problems building with custom buildflags.
*makeflags*;;
Allow the use of user-specific makeflags during build as specified
diff --git a/doc/makepkg.conf.5.txt b/doc/makepkg.conf.5.txt
index 5970946d..de2b4b42 100644
--- a/doc/makepkg.conf.5.txt
+++ b/doc/makepkg.conf.5.txt
@@ -51,6 +51,9 @@ Options
A string such as ``i686-pc-linux-gnu'', do not touch unless you know what
you are doing. This can be commented out by most users if desired.
+**CPPFLAGS=**"cppflags"::
+ Flags used for the C preprocessor; see CFLAGS for more info.
+
**CFLAGS=**"cflags"::
Flags used for the C compiler. This is a key part to the use of makepkg.
Usually several options are specified, and the most common string resembles