view debian/README.Debian.diet @ 1406:96a282e78085

Fix libtomcrypt/libtommath linking order To prevent build failures when using system libtom libraries and linking with --as-needed, LIBTOM_LIBS should be in the order -ltomcrypt -ltommath, not the other way around, ie libs should be prepended to LIBTOM_LIBS as they are found, not appended. Signed-off-by: Andre McCurdy <[email protected]>
author Andre McCurdy <armccurdy@gmail.com>
date Fri, 16 Sep 2016 12:18:23 -0700
parents 743fce568f49
children
line wrap: on
line source

Building with the diet libc
---------------------------

This package optionally can be built with the diet libc instead of the
glibc to provide small statically linked programs.  The resulting package
has no dependency on any other package.

To use the diet libc, make sure the latest versions of the dietlibc-dev
package is installed, and set DEB_BUILD_OPTIONS=diet in the environment
when building the package, e.g.:

 # apt-get install dietlibc-dev
 $ DEB_BUILD_OPTIONS=diet fakeroot apt-get source -b dropbear

 -- Gerrit Pape <[email protected]>, Sat, 17 Jul 2004 19:09:34 +0000