Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 11 Oct 2012 20:17:09 +0200
From: Szabolcs Nagy <>
Subject: Re: feature request: flag to disable math library build

* John Spencer <> [2012-10-11 19:30:54 +0200]:
> for this kind of testing it would be advantageous if i could disable
> the math library entirely (since it is completely unnecessary),
> which accounts for roughly 50% of the build time.
> this might also be an option desired by ppl that use tcc or pcc.
> maybe --disable-math ?

there is already an option for this:

mv src/math src/.math

now you disabled math

if you don't like such hacks then you can add

SRCS:=$(filter-out src/complex/%,$(SRCS))
SRCS:=$(filter-out src/math/%,$(SRCS))

to your config.mak

i'm not sure how safe is this: libc uses some math
functions (at least stdio uses frexpl for printf)

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.