summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extra/Configs/Config.i386.default2
-rw-r--r--extra/Configs/Config.in4
-rw-r--r--ldso/ldso/Makefile1
3 files changed, 4 insertions, 3 deletions
diff --git a/extra/Configs/Config.i386.default b/extra/Configs/Config.i386.default
index 3fdaa05b7..1b097b7c1 100644
--- a/extra/Configs/Config.i386.default
+++ b/extra/Configs/Config.i386.default
@@ -36,7 +36,7 @@ HAVE_ELF=y
#
# General Library Settings
#
-HAVE_PIC=y
+DOPIC=y
HAVE_SHARED=y
BUILD_UCLIBC_LDSO=y
UCLIBC_HAS_THREADS=y
diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 0b14b0021..1b3357ded 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -6,7 +6,7 @@
menu "General Library Settings"
-config HAVE_PIC
+config DOPIC
bool "Generate Position Independent Code (PIC)"
default y
help
@@ -16,7 +16,7 @@ config HAVE_PIC
config HAVE_SHARED
bool "Enable support for shared libraries"
- depends on HAVE_PIC
+ depends on DOPIC
default y
help
If you wish to build uClibc with support for shared libraries then
diff --git a/ldso/ldso/Makefile b/ldso/ldso/Makefile
index 3ecbe9f77..e317ffcb3 100644
--- a/ldso/ldso/Makefile
+++ b/ldso/ldso/Makefile
@@ -23,6 +23,7 @@
TOPDIR=../../
+DOPIC=true
include $(TOPDIR)Rules.mak
LDSO_FULLNAME=ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so