diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2001-05-31 21:23:20 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2001-05-31 21:23:20 +0000 |
commit | dd4d42c2b998b2b95912ac04106fb7a9b1b0a57e (patch) | |
tree | 19bdbd5e7c1fc93edcd14b115fdbdf3be205389d /ldso/Rules.mak | |
parent | f43cd38254b0f915fcade2f61218430ebb5e3db3 (diff) |
Removed INSTALL_DIR and replaced it with DEVEL_PREFIX, ROOT_DIR, and
TARGET_PREFIX to allow more flexibility. Also modified the gcc wrapper
to do the right thing if -Wl,--dynamic-linker,xxx is passed on the command
line. The gcc wrapper will also check the env variable UCLIBC_GCC_LDOPT
for a dynamic linker option at runtime (although command line arg overrides
the env variable).
Diffstat (limited to 'ldso/Rules.mak')
-rw-r--r-- | ldso/Rules.mak | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ldso/Rules.mak b/ldso/Rules.mak index c0bd561bb..f2eccd4a8 100644 --- a/ldso/Rules.mak +++ b/ldso/Rules.mak @@ -2,12 +2,9 @@ include $(TOPDIR)Rules.mak LDSO_VERSION=1.9.11 -DEVEL=true - # Do NOT use -fomit-frame-pointer -- It won't work! CFLAGS += -DVERSION=\"$(LDSO_VERSION)\" CC = $(TOPDIR)extra/gcc-uClibc/$(NATIVE_ARCH)-uclibc-gcc -ifeq ($(DEVEL),true) - CFLAGS += -DUCLIBC_INSTALL_DIR=\"$(INSTALL_DIR)\" -endif + +CFLAGS += -DUCLIBC_ROOT_DIR=\"$(ROOT_DIR)\" |