r19093: speed up the samba3 build from 8mins to 5mins:-)
authorStefan Metzmacher <metze@samba.org>
Thu, 5 Oct 2006 09:15:37 +0000 (09:15 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:15:11 +0000 (12:15 -0500)
commit6db1f57f45bf0b382572aec72dda29657c4a5c3f
tree5e33e83d60fddb3e21096a21aee8021bfee46379
parentcd4b1cf0e7ced553c691ea0e34fd764577d88dce
r19093: speed up the samba3 build from 8mins to 5mins:-)

we now don't compile mostly each .c file twice.

- we use PICFLAG for all object files
- PICFLAG defaults to PIE_CFLAGS and is then overwritten
  if the system supports shared libraries

as we currently always use -fPIE if available
(and at least on linux -fPIE produces the same code as -fPIC)
it doesn't change anything in the resulting code.

"high performance" binaries can be build with
"--disable-pie --disable-shared" if someone really needs to...

metze
source/Makefile.in
source/configure.in