diff options
author | Allan McRae <allan@archlinux.org> | 2012-09-23 09:06:34 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2012-11-27 06:16:15 +0100 |
commit | 6c22ef2c8287ef16f57fba08077520ad0c68dff8 (patch) | |
tree | 4cb4e729d613f7178510e5757b0113274e777214 /doc/makepkg.conf.5.txt | |
parent | 7199fb3b1aab6ec36e56af8a3ab1949c7510c767 (diff) | |
download | pacman-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/makepkg.conf.5.txt')
-rw-r--r-- | doc/makepkg.conf.5.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/makepkg.conf.5.txt b/doc/makepkg.conf.5.txt index cf9da732..1a24641a 100644 --- a/doc/makepkg.conf.5.txt +++ b/doc/makepkg.conf.5.txt @@ -77,6 +77,14 @@ Options This is often used to set the number of jobs used, for example, `-j2`. Other flags that make accepts can also be passed. +**DEBUG_CFLAGS=**"debug_cflags":: + Additional compiler flags appended to CFLAGS for use in debugging. Usually + this would include: ``-g''. Read gcc(1) for more details on the wide + variety of compiler flags available. + +**DEBUG_CXXFLAGS=**"debug_cxxflags":: + Debug flags used for the C++ compiler; see DEBUG_CFLAGS for more info. + **BUILDENV=(**fakeroot !distcc color !ccache check !sign**)**:: This array contains options that affect the build environment, the defaults are shown here. All options should always be left in the array; to enable @@ -167,6 +175,10 @@ Options Compress binary executable files using UPX. Additional options can be passed to UPX by specifying the `UPXFLAGS` variable. + *debug*;; + Add the user-specified debug flags as specified in DEBUG_CFLAGS and + DEBUG_CXXFLAGS to their counterpart buildflags. + **INTEGRITY_CHECK=(**check1 ...**)**:: File integrity checks to use. Multiple checks may be specified; this affects both generation and checking. The current valid options are: |