Whamcloud - gitweb
Build fix for RHEL3 native compiler on x86_64.
authorbrian <brian>
Sat, 11 Mar 2006 17:37:12 +0000 (17:37 +0000)
committerbrian <brian>
Sat, 11 Mar 2006 17:37:12 +0000 (17:37 +0000)
Hopefully doesn't break any other builds.

snmp/Makefile.am

index c1ee04f..40658ab 100644 (file)
@@ -10,7 +10,7 @@ lustresnmp_so_SOURCES := \
        lustre-snmp-util.h
 
 lustresnmp_so_LDADD := $(NET_SNMP_LIBS)
-lustresnmp_so_CFLAGS := $(NET_SNMP_CFLAGS)
+lustresnmp_so_CFLAGS := -fPIC $(NET_SNMP_CFLAGS)
 lustresnmp_so_LDFLAGS := -fPIC -shared
 
 SUBDIRS :=