aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--devel/zpu-gcc/files/install.sh2
-rw-r--r--devel/zpu-gcc/files/patch-build.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/devel/zpu-gcc/files/install.sh b/devel/zpu-gcc/files/install.sh
index 4c416722323b..a21b5135dd08 100644
--- a/devel/zpu-gcc/files/install.sh
+++ b/devel/zpu-gcc/files/install.sh
@@ -1,3 +1,3 @@
export PATH=/usr/local/zpu/bin:$PATH
cd gccbuild
-%%GMAKE%% install
+%%MAKE_CMD%% install
diff --git a/devel/zpu-gcc/files/patch-build.sh b/devel/zpu-gcc/files/patch-build.sh
index 56fec7e6dad9..6698af3eb4a0 100644
--- a/devel/zpu-gcc/files/patch-build.sh
+++ b/devel/zpu-gcc/files/patch-build.sh
@@ -29,6 +29,6 @@
-make install
+##../gcc/configure --target=zpu-elf --prefix=%%PREFIX%%/zpu --enable-languages=c,c++ --with-gnu-as --with-gnu-ld --with-newlib --disable-shared --enable-newlib -v --enable-checking=misc,tree,rtl,rtlflag,gc,gcac,fold --disable-multilib --disable-threads --enable-sjlj-exceptions --enable-libstdcxx-allocator=malloc
+../gcc/configure --target=zpu-elf --prefix=%%PREFIX%%/zpu --infodir=%%PREFIX%%/info/zpuc --enable-languages=c --with-gnu-as --with-gnu-ld --with-newlib --disable-shared --enable-newlib -v --enable-checking=misc,tree,rtl,rtlflag,gc,gcac,fold --disable-multilib --disable-threads --enable-sjlj-exceptions --enable-libstdcxx-allocator=malloc
-+%%GMAKE%%
++%%MAKE_CMD%%
+#gmake install