diff options
author | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-04-16 00:42:28 +0200 |
---|---|---|
committer | Bjoern Michaelsen <bjoern.michaelsen@canonical.com> | 2012-04-16 11:59:42 +0200 |
commit | ebed42c38ae91147633c47873307e07984bc62c1 (patch) | |
tree | 1a03eab7f4ba386f5fb75b8bfb23657b63155652 /config_host.mk.in | |
parent | 839a8250114dd0352048c4812b6fa71dc9b1c5b3 (diff) |
introduce ENABLE_DEBUG_ONLY
with this you can now do:
./autogen.sh --enable-debug="sw sc"
and your build will have debug version of the libraries sw and sc, but a
non-debug build elsewhere. This currently only works for libraries. It would be
also possible to extend that to excutables, but that would need explicit in the
enable-debug switch then:
./autogen.sh --enable-debug="Library/sw Library/sc Executable/mkunroll"
so I dont know if it is worth it.
Diffstat (limited to 'config_host.mk.in')
-rw-r--r-- | config_host.mk.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config_host.mk.in b/config_host.mk.in index 378dc079f84d..8ad7f5c53d04 100644 --- a/config_host.mk.in +++ b/config_host.mk.in @@ -74,6 +74,7 @@ export DBUS_LIBS=@DBUS_LIBS@ export DB_CPPLIB=@DB_CPPLIB@ export DB_LIB=@DB_LIB@ export debug=@ENABLE_DEBUG@ +export ENABLE_DEBUG_ONLY=@ENABLE_DEBUG_ONLY@ export DEFAULT_MOZILLA_TOOLKIT=@MOZILLA_TOOLKIT@ export DEFAULT_TO_ENGLISH_FOR_PACKING=yes export DIAGRAM_EXTENSION_PACK=@DIAGRAM_EXTENSION_PACK@ |