aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Config
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-12-18 04:11:16 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-12-18 04:11:16 +0000
commitaf58cae8cb9c0ce64ae6a40990a4ad097c71e0e4 (patch)
treef16aadad77adc9cac6177cfbaec77cd0f2b48bbf /include/llvm/Config
parent15404d060ba8b604c03b9223a0f2e2abcd0fdded (diff)
downloadexternal_llvm-af58cae8cb9c0ce64ae6a40990a4ad097c71e0e4.zip
external_llvm-af58cae8cb9c0ce64ae6a40990a4ad097c71e0e4.tar.gz
external_llvm-af58cae8cb9c0ce64ae6a40990a4ad097c71e0e4.tar.bz2
Determine if the -enable-pic option was given.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32649 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Config')
-rw-r--r--include/llvm/Config/config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/llvm/Config/config.h.in b/include/llvm/Config/config.h.in
index 38aa75f..3fd359b 100644
--- a/include/llvm/Config/config.h.in
+++ b/include/llvm/Config/config.h.in
@@ -14,6 +14,9 @@
/* Define if CBE is enabled for printf %a output */
#undef ENABLE_CBE_PRINTF_A
+/* Define if position independent code is enabled */
+#undef ENABLE_PIC
+
/* Define if threads enabled */
#undef ENABLE_THREADS