From a5a2ad79bc239be9c1c2ab349654d80ccf4aad7b Mon Sep 17 00:00:00 2001 From: soochoi Date: Tue, 5 Sep 2006 20:57:44 +0000 Subject: [PATCH] casa-auth-token-native: add fPIC to CPPFLAGS to fix the build break --- .../non-java/utilities/IpcLibs/linux/client/Makefile.am | 2 +- .../non-java/utilities/IpcLibs/linux/server/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CASA-auth-token/non-java/utilities/IpcLibs/linux/client/Makefile.am b/CASA-auth-token/non-java/utilities/IpcLibs/linux/client/Makefile.am index 1bf3b7b6..47a6daff 100644 --- a/CASA-auth-token/non-java/utilities/IpcLibs/linux/client/Makefile.am +++ b/CASA-auth-token/non-java/utilities/IpcLibs/linux/client/Makefile.am @@ -62,7 +62,7 @@ INCLUDES = -I. -I.. -I../common -I../../../../include RESOURCES = DEFINES += -Wno-format-extra-args -fno-strict-aliasing -fshort-wchar CFLAGS += $(INCLUDES) $(DEFINES) -CPPFLAGS += $(INCLUDES) $(DEFINES) +CPPFLAGS += -fPIC $(INCLUDES) $(DEFINES) LIBS = -lpthread -ldl -lexpat LDFLAGS = -Bsymbolic -shared -Wl,-soname=$(MODULE_NAME).$(MODULE_EXT) diff --git a/CASA-auth-token/non-java/utilities/IpcLibs/linux/server/Makefile.am b/CASA-auth-token/non-java/utilities/IpcLibs/linux/server/Makefile.am index f3aba604..8d207573 100644 --- a/CASA-auth-token/non-java/utilities/IpcLibs/linux/server/Makefile.am +++ b/CASA-auth-token/non-java/utilities/IpcLibs/linux/server/Makefile.am @@ -62,7 +62,7 @@ INCLUDES = -I. -I.. -I../common -I../../../../include RESOURCES = DEFINES += -Wno-format-extra-args -fno-strict-aliasing -fshort-wchar CFLAGS += $(INCLUDES) $(DEFINES) -CPPFLAGS += $(INCLUDES) $(DEFINES) +CPPFLAGS += -fPIC $(INCLUDES) $(DEFINES) LIBS = -lpthread -ldl -lexpat LDFLAGS = -Bsymbolic -shared -Wl,-soname=$(MODULE_NAME).$(MODULE_EXT)