summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/gcc-uclibc_3.3.2.oe2
-rw-r--r--gcc/gcc_3.3.2.oe2
2 files changed, 2 insertions, 2 deletions
diff --git a/gcc/gcc-uclibc_3.3.2.oe b/gcc/gcc-uclibc_3.3.2.oe
index bfa276b1c4..0acd355ab0 100644
--- a/gcc/gcc-uclibc_3.3.2.oe
+++ b/gcc/gcc-uclibc_3.3.2.oe
@@ -33,7 +33,7 @@ SRC_URI_append = " file://${FILESDIR}/gcc-001-disable-mathf.patch;patch=1 \
file://${FILESDIR}/gcc-006-include-search.patch;patch=1 \
file://${FILESDIR}/gcc-810-libstd++-locale.patch;patch=1"
-EXTRA_OECONF := --with-local-prefix=/usr/local \
+EXTRA_OECONF := --with-local-prefix=${prefix}/local \
--with-gxx-include-dir=${includedir}/c++/${PV}-uclibc \
--enable-target-optspace \
--disable-nls \
diff --git a/gcc/gcc_3.3.2.oe b/gcc/gcc_3.3.2.oe
index 11c3aff1b4..946a673853 100644
--- a/gcc/gcc_3.3.2.oe
+++ b/gcc/gcc_3.3.2.oe
@@ -68,7 +68,7 @@ SRC_URI := http://gcc.get-software.com/releases/gcc-${PV}/gcc-${PV}.tar.bz2
S := ${WORKDIR}/gcc-${PV}
B := ${S}/build.${HOST_SYS}.${TARGET_SYS}
-EXTRA_OECONF := --with-local-prefix=/usr/local \
+EXTRA_OECONF := --with-local-prefix=${prefix}/local \
--with-gxx-include-dir=${includedir}/c++/${PV} \
--enable-target-optspace \
--disable-nls \