diff --git a/jnr-ffi-0.7.11/libtest/GNUmakefile b/jnr-ffi-0.7.11/libtest/GNUmakefile index 1906219..c9a9c11 100644 --- a/jnr-ffi-0.7.11/libtest/GNUmakefile +++ b/jnr-ffi-0.7.11/libtest/GNUmakefile @@ -37,10 +37,10 @@ TEST_OBJS := $(patsubst $(SRC_DIR)/%.c, $(TEST_BUILD_DIR)/%.o, $(TEST_SRCS)) # Compiler/linker flags from: # http://weblogs.java.net/blog/kellyohair/archive/2006/01/compilation_of_1.html JFLAGS = -fno-omit-frame-pointer -fno-strict-aliasing -OFLAGS = -O2 $(JFLAGS) -WFLAGS = -W -Werror -Wall -Wno-unused -Wno-parentheses +OFLAGS = $(JFLAGS) +WFLAGS = -W -Wall -Wno-unused -Wno-parentheses PICFLAGS = -fPIC -SOFLAGS = -shared -Wl,-O1 +SOFLAGS = -shared LDFLAGS += $(SOFLAGS) IFLAGS = -I"$(BUILD_DIR)"