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)
commit63a0d4aa5bb27edb97701bb533ea7398841b9b1e
tree5f7d5bb1e2fe682b1b0e95d449642c1ff7de2aa6
parent6bcb2ea2717f7f80375c7acb847a1e49a45a5902
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
(This used to be commit 6db1f57f45bf0b382572aec72dda29657c4a5c3f)
source3/Makefile.in
source3/configure.in