r807: compile with PICFLAG by default
authorStefan Metzmacher <metze@samba.org>
Fri, 21 May 2004 16:02:24 +0000 (16:02 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:53:51 +0000 (12:53 -0500)
(ask tridge why this is better than recompiling only the
 files we need for libraries with PICFLAG)

metze
(This used to be commit ee32d29044a52d7098e242ed48c309871e711bd9)

source4/build/smb_build/makefile.pl

index ab5539e61c893ba01d8ed3eb62af10850565358e..ec7853e0e09c5a00b9e8f349460432ca78a0c2e0 100644 (file)
@@ -852,7 +852,7 @@ sub _prepare_makefile_in($)
 
        $output .= _prepare_dummy_MAKEDIR();
 
-       $output .= _prepare_std_CC_rule("c","o","","Compiling","Rule for std objectfiles");
+       $output .= _prepare_std_CC_rule("c","o","\@PICFLAG\@","Compiling","Rule for std objectfiles");
        $output .= _prepare_std_CC_rule("h","h.gch","","Precompiling","Rule for precompiled headerfiles");
 
        $output .= _prepare_obj_lists($CTX);