From: zab Date: Tue, 2 Dec 2003 19:48:36 +0000 (+0000) Subject: - use -fPIC to build liblustre to stop the .os from containing relocations X-Git-Tag: v1_7_0_51~2^20~28 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=f7098442671b4b9f4ea477be0e65136149942ec4;p=fs%2Flustre-release.git - use -fPIC to build liblustre to stop the .os from containing relocations that x86_64 can't put in .sos - don't include ldlm *and* ptlrpc libs in liblustre.{a,so} --- diff --git a/lustre/osc/Makefile.am b/lustre/osc/Makefile.am index 67e8d16..ba53874 100644 --- a/lustre/osc/Makefile.am +++ b/lustre/osc/Makefile.am @@ -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