From 05f2d5fde6b7353b59771af9c3a1ad09cb7b0b27 Mon Sep 17 00:00:00 2001 From: Jean-Yves Lefort Date: Tue, 7 Jun 2005 07:46:48 +0000 Subject: Compile with the -fPIC flag, which is needed on some platforms. Reported by: pointyhat --- x11-themes/gtk-bluecurve-theme/Makefile | 2 +- x11-themes/qt-bluecurve-theme/Makefile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'x11-themes') diff --git a/x11-themes/gtk-bluecurve-theme/Makefile b/x11-themes/gtk-bluecurve-theme/Makefile index 3fc277ef194a..f01396f24890 100644 --- a/x11-themes/gtk-bluecurve-theme/Makefile +++ b/x11-themes/gtk-bluecurve-theme/Makefile @@ -45,7 +45,7 @@ post-patch: do-build: .for v in 1 2 cd ${GTK${v}_WRKSRC} && \ - ${CC} ${CFLAGS} -Wl,-export-dynamic -shared \ + ${CC} ${CFLAGS} -Wl,-export-dynamic -shared -fPIC \ ${GTK${v}_CFLAGS} ${GTK${v}_LIBS} -o libbluecurve.so \ ${GTK${v}_SOURCES} .endfor diff --git a/x11-themes/qt-bluecurve-theme/Makefile b/x11-themes/qt-bluecurve-theme/Makefile index 5eeb1fda5652..50f8c14361c7 100644 --- a/x11-themes/qt-bluecurve-theme/Makefile +++ b/x11-themes/qt-bluecurve-theme/Makefile @@ -29,7 +29,7 @@ post-patch: do-build: cd ${BUILD_WRKSRC} && \ ${MOC} -o bluecurve.moc bluecurve.h && \ - ${CXX} ${CXXFLAGS} -Wl,-export-dynamic -shared \ + ${CXX} ${CXXFLAGS} -Wl,-export-dynamic -shared -fPIC \ ${QT_CFLAGS} ${QT_LIBS} -o bluecurve.so \ bluecurve.cpp plugin.cpp -- cgit v1.2.3