summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-11-24 03:27:44 -0500
committermidipix <writeonce@midipix.org>2016-11-24 03:31:54 -0500
commit0cdf9945fe9242fa6db53c1404254f30e6c81a5a (patch)
tree564a2fae8006bf53a622abc4e8e2de1791c58dfa /libc
parent42e809301f112c3ad7bae3fe4202a059bf9e67fd (diff)
downloadcbb-gcc-4.6.4-0cdf9945fe9242fa6db53c1404254f30e6c81a5a.tar.bz2
cbb-gcc-4.6.4-0cdf9945fe9242fa6db53c1404254f30e6c81a5a.tar.xz
cbb-musl-elf.h: provide STANDARD_STARTFILE_PREFIX_{1|2} definitions.
Diffstat (limited to 'libc')
-rw-r--r--libc/cbb-musl-elf.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libc/cbb-musl-elf.h b/libc/cbb-musl-elf.h
index 6c345bb99..055697c3b 100644
--- a/libc/cbb-musl-elf.h
+++ b/libc/cbb-musl-elf.h
@@ -38,6 +38,12 @@ extern "C" {
#undef LOCAL_INCLUDE_DIR
#define LOCAL_INCLUDE_DIR "/local/include"
+#undef STANDARD_STARTFILE_PREFIX_1
+#define STANDARD_STARTFILE_PREFIX_1 "/local/lib"
+
+#undef STANDARD_STARTFILE_PREFIX_2
+#define STANDARD_STARTFILE_PREFIX_2 "/lib"
+
/* arch */
#define CBB_STR(s) #s