Whamcloud - gitweb
- use -fPIC to build liblustre to stop the .os from containing relocations
authorzab <zab>
Tue, 2 Dec 2003 19:48:36 +0000 (19:48 +0000)
committerzab <zab>
Tue, 2 Dec 2003 19:48:36 +0000 (19:48 +0000)
  that x86_64 can't put in .sos
- don't include ldlm *and* ptlrpc libs in liblustre.{a,so}

lustre/osc/Makefile.am

index 67e8d16..ba53874 100644 (file)
@@ -8,6 +8,7 @@ DEFS=
 if LIBLUSTRE
 lib_LIBRARIES = libosc.a
 libosc_a_SOURCES = osc_request.c osc_lib.c osc_create.c osc_rpcd.c osc_internal.h
+libosc_a_CFLAGS = -fPIC
 else
 MODULE = osc
 modulefs_DATA = osc.o