From: idgay Date: Tue, 9 Jan 2007 23:45:17 +0000 (+0000) Subject: add -fPIC, needed for x86_64 according to X-Git-Tag: tinyos/2.0.1~237 X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=commitdiff_plain;h=7fdca660079aad515220abd41b351685c7d53515;p=tinyos-2.x.git add -fPIC, needed for x86_64 according to Daniel Goertzen --- diff --git a/tools/tinyos/java/serial/Makefile.am b/tools/tinyos/java/serial/Makefile.am index e71be367..7909a9e8 100644 --- a/tools/tinyos/java/serial/Makefile.am +++ b/tools/tinyos/java/serial/Makefile.am @@ -19,7 +19,7 @@ toscomm_dll_SOURCES = \ TOSComm_wrap.cxx libtoscomm.so: $(libtoscomm_so_SOURCES) - $(CXX) -O2 -shared "-I$(JDK)/include" "-I$(JDK)/include/linux" \ + $(CXX) -O2 -shared -fPIC "-I$(JDK)/include" "-I$(JDK)/include/linux" \ -o $@ NativeSerial_linux.cpp toscomm.dll: $(toscomm_dll_SOURCES)