diff --git a/cde/config/cf/bsdLib.rules b/cde/config/cf/bsdLib.rules index c55b67c62..f0351aeab 100644 --- a/cde/config/cf/bsdLib.rules +++ b/cde/config/cf/bsdLib.rules @@ -23,7 +23,7 @@ XCOMM $XConsortium: bsdLib.rules /main/3 1996/09/28 16:09:18 rws $ #define SharedLibraryLoadFlags -shared #endif #ifndef PositionIndependentCFlags -#define PositionIndependentCFlags -fpic +#define PositionIndependentCFlags -fPIC #endif /* diff --git a/cde/lib/DtXinerama/Imakefile b/cde/lib/DtXinerama/Imakefile index 3186345d1..1b3b0a25c 100644 --- a/cde/lib/DtXinerama/Imakefile +++ b/cde/lib/DtXinerama/Imakefile @@ -40,7 +40,7 @@ OBJS = DtXinerama.o INCLUDES = -I. XCOMM -fpic is required for static libDtXinerama to link with libDtSvc properly -CCOPTIONS += -fpic +CCOPTIONS += $(PICFLAGS) DependTarget()