summaryrefslogtreecommitdiff
path: root/extra/gcc-uClibc/gcc-uClibc.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-05-25 01:20:51 +0000
committerEric Andersen <andersen@codepoet.org>2001-05-25 01:20:51 +0000
commitcebef70d9071eac41765ecc322cd863368fc737f (patch)
tree3ffc70cdc8ff1f0f7cd62cd8c11326f74523c052 /extra/gcc-uClibc/gcc-uClibc.c
parent1af9efbcb57a0bbfa47afe4ea156f51df3d83be0 (diff)
One last structural change. Install header files to INSTALLDIR/usr/include
so we now parallel the behavior of the standard tools. Also make sure we check INSTALLDIR/lib and INSTALLDIR/usr/lib for libraries. -Erik
Diffstat (limited to 'extra/gcc-uClibc/gcc-uClibc.c')
-rw-r--r--extra/gcc-uClibc/gcc-uClibc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/extra/gcc-uClibc/gcc-uClibc.c b/extra/gcc-uClibc/gcc-uClibc.c
index f0c5fae1c..aa50f5dc8 100644
--- a/extra/gcc-uClibc/gcc-uClibc.c
+++ b/extra/gcc-uClibc/gcc-uClibc.c
@@ -63,7 +63,7 @@ static char *rpath[] = {
};
static char *uClibc_inc[] = {
- "-I"UCLIBC_INSTALL_DIR"include/",
+ "-I"UCLIBC_INSTALL_DIR"usr/include/",
"-I"UCLIBC_BUILD_DIR"include/"
};
@@ -74,7 +74,9 @@ static char *crt0_path[] = {
static char *lib_path[] = {
"-L"UCLIBC_INSTALL_DIR"lib",
+ "-L"UCLIBC_INSTALL_DIR"usr/lib",
"-L"UCLIBC_BUILD_DIR"lib"
+ "-L"UCLIBC_BUILD_DIR"usr/lib"
};
static char static_linking[] = "-static";