]> oss.titaniummirror.com Git - tinyos-2.x.git/commitdiff
add -fPIC, needed for x86_64 according to
authoridgay <idgay>
Tue, 9 Jan 2007 23:45:17 +0000 (23:45 +0000)
committeridgay <idgay>
Tue, 9 Jan 2007 23:45:17 +0000 (23:45 +0000)
  Daniel Goertzen <daniel.goertzen@norscan.com>

tools/tinyos/java/serial/Makefile.am

index e71be367a422b37d8fb5c72b7b107ea87c3eac25..7909a9e8c015ac6171cef255679f25ba135867ab 100644 (file)
@@ -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)