summaryrefslogtreecommitdiff
blob: cc4b4d8b74357b971f84db339f0d597ad5dbaad7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -Naur netcdf-3.6.1/src/cxx/Makefile netcdf-3.6.1-new/src/cxx/Makefile
--- netcdf-3.6.1/src/cxx/Makefile	2006-01-26 15:13:44.000000000 -0500
+++ netcdf-3.6.1-new/src/cxx/Makefile	2006-10-22 18:41:18.000000000 -0400
@@ -11,6 +11,8 @@
 		  nctst.cpp ncvalues.cpp ncvalues.h netcdf.cpp netcdfcpp.h \
 		  netcdf.hh install-sh ref_nctst.cdl ref_nctst_64bit_offset.cdl
 
+CXXFLAGS += -fPIC
+
 LIBRARY		= libnetcdf_c++.a
 lib_netcdf	= ../libsrc/libnetcdf.a
 ld_netcdf	= -L../libsrc -lnetcdf
diff -Naur netcdf-3.6.1/src/libsrc/Makefile netcdf-3.6.1-new/src/libsrc/Makefile
--- netcdf-3.6.1/src/libsrc/Makefile	2005-02-17 11:15:11.000000000 -0500
+++ netcdf-3.6.1-new/src/libsrc/Makefile	2006-10-22 18:40:36.000000000 -0400
@@ -14,6 +14,8 @@
 
 MANUAL	= netcdf.3
 
+CFLAGS += -fPIC
+
 LIB_CSRCS = \
 	attr.c \
 	dim.c \