From 7fdca660079aad515220abd41b351685c7d53515 Mon Sep 17 00:00:00 2001 From: idgay Date: Tue, 9 Jan 2007 23:45:17 +0000 Subject: [PATCH] add -fPIC, needed for x86_64 according to Daniel Goertzen --- tools/tinyos/java/serial/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2