[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Change compile options wi/ apt-get source?



On Mon, May 13, 2002 at 11:36:04PM -0400, Nathan Weston wrote:
| Is there a way to compile with different options, CFLAGS, etc, when using 
| apt-get source?

Not that I know of -- apt-get doesn't actually do compilation, that's
why!

| Can I specify a default CFLAGS to use?

Sure :

$ apt-get source foo
$ cd foo-version
$ fakeroot ./debian/rules binary CFLAGS="-I/my/include/dir"

It may work better to do this :
$ export CFLAGS="-I/my/include/dir"
$ fakeroot ./debian/rules binary

Try both and see.

HTH,
-D

-- 

Bugs come in through open windows. Keep Windows shut!
 
GnuPG key : http://dman.ddts.net/~dman/public_key.gpg

Attachment: pgpeMcb6o70Xa.pgp
Description: PGP signature


Reply to: