summaryrefslogtreecommitdiffstats
path: root/doc/PKGBUILD.5.txt
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-09-23 09:06:34 +0200
committerAllan McRae <allan@archlinux.org>2012-11-27 06:16:15 +0100
commit6c22ef2c8287ef16f57fba08077520ad0c68dff8 (patch)
tree4cb4e729d613f7178510e5757b0113274e777214 /doc/PKGBUILD.5.txt
parent7199fb3b1aab6ec36e56af8a3ab1949c7510c767 (diff)
downloadpacman-6c22ef2c8287ef16f57fba08077520ad0c68dff8.tar.gz
pacman-6c22ef2c8287ef16f57fba08077520ad0c68dff8.tar.xz
makepkg: add option to include debugging compiler flags
Add a "debug" option that appends the compiler flags specified in the variables DEBUG_CFLAGS and DEBUG_CXXFLAGS in makepkg.conf to their counterpart buildflags. Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'doc/PKGBUILD.5.txt')
-rw-r--r--doc/PKGBUILD.5.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/PKGBUILD.5.txt b/doc/PKGBUILD.5.txt
index 19bae634..28c4868d 100644
--- a/doc/PKGBUILD.5.txt
+++ b/doc/PKGBUILD.5.txt
@@ -274,6 +274,9 @@ A normal sync or upgrade will not use its value.
`!makeflags` with select packages that have problems building with
custom makeflags such as `-j2` (or higher).
+ *debug*;;
+ Add the user-specified debug flags (DEBUG_CFLAGS, DEBUG_CXXFLAGS) to
+ their counterpart buildflags as specified in linkman:makepkg.conf[5].
build() Function
----------------