summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
Diffstat (limited to 'extra')
-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";