aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Montel <montel@kde.org>2006-08-17 06:43:35 +0000
committerLaurent Montel <montel@kde.org>2006-08-17 06:43:35 +0000
commitf434d06411943c882ed1249209c5ab5d3295192e (patch)
tree3250f82cfc03a70e55c6995feeb2db4169574427
parentaa3edadeb55b1ea02f59bdf864d88a1f4f3a5801 (diff)
downloadextra-cmake-modules-f434d06411943c882ed1249209c5ab5d3295192e.tar.gz
extra-cmake-modules-f434d06411943c882ed1249209c5ab5d3295192e.tar.bz2
Add info for KDE4_ENABLE_FPIE
svn path=/trunk/KDE/kdelibs/; revision=573764
-rw-r--r--modules/FindKDE4Internal.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake
index eb0d104e..db3f649f 100644
--- a/modules/FindKDE4Internal.cmake
+++ b/modules/FindKDE4Internal.cmake
@@ -93,6 +93,7 @@
#
# KDE4_ENABLE_FINAL - enable KDE-style enable-final all-in-one-compilation
# KDE4_BUILD_TESTS - enable this to build the testcases
+# KDE4_ENABLE_FPIE - enable it to use gcc Position Independent Executables feature
#
# It also adds the following macros (from KDE4Macros.cmake)
# KDE4_ADD_UI_FILES (SRCS_VAR file1.ui ... fileN.ui)
@@ -239,6 +240,11 @@ get_filename_component( kde_cmake_module_dir ${CMAKE_CURRENT_LIST_FILE} PATH)
option(KDE4_ENABLE_FINAL "Enable final all-in-one compilation")
option(KDE4_BUILD_TESTS "Build the tests")
+
+#Position-Independent-Executable is a feature of Binutils, Libc, and GCC that creates an executable
+#which is something between a shared library and a normal executable.
+#Programs compiled with these features appear as ?shared object? with the file command.
+#info from "http://www.linuxfromscratch.org/hlfs/view/unstable/glibc/chapter02/pie.html"
option(KDE4_ENABLE_FPIE "Enable platform supports PIE linking")
#now try to find some kde stuff