From e1f5de0ecdc97def89a9f8385041fbfc06fca478 Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Wed, 26 Nov 2003 10:35:19 +0000 Subject: Add -fPIC to CFLAGS on IA64 and AMD64. Fixes build (tested on pluto2). Reported by: kris --- editors/calligra/Makefile | 4 ++++ editors/koffice-kde3/Makefile | 4 ++++ editors/koffice-kde4/Makefile | 4 ++++ 3 files changed, 12 insertions(+) (limited to 'editors') diff --git a/editors/calligra/Makefile b/editors/calligra/Makefile index 8c305f9524b3..c1398755ed66 100644 --- a/editors/calligra/Makefile +++ b/editors/calligra/Makefile @@ -39,4 +39,8 @@ LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3 .include +.if ${ARCH} == "ia64" || ${ARCH} == "amd64" +CFLAGS+= -fPIC +.endif + .include diff --git a/editors/koffice-kde3/Makefile b/editors/koffice-kde3/Makefile index 8c305f9524b3..c1398755ed66 100644 --- a/editors/koffice-kde3/Makefile +++ b/editors/koffice-kde3/Makefile @@ -39,4 +39,8 @@ LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3 .include +.if ${ARCH} == "ia64" || ${ARCH} == "amd64" +CFLAGS+= -fPIC +.endif + .include diff --git a/editors/koffice-kde4/Makefile b/editors/koffice-kde4/Makefile index 8c305f9524b3..c1398755ed66 100644 --- a/editors/koffice-kde4/Makefile +++ b/editors/koffice-kde4/Makefile @@ -39,4 +39,8 @@ LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3 .include +.if ${ARCH} == "ia64" || ${ARCH} == "amd64" +CFLAGS+= -fPIC +.endif + .include -- cgit v1.2.3