summaryrefslogtreecommitdiff
path: root/devel/zpu-gcc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/zpu-gcc')
-rw-r--r--devel/zpu-gcc/Makefile1
-rw-r--r--devel/zpu-gcc/files/patch-build.sh2
2 files changed, 2 insertions, 1 deletions
diff --git a/devel/zpu-gcc/Makefile b/devel/zpu-gcc/Makefile
index f2ff9ff3b8ae..0554e1318e47 100644
--- a/devel/zpu-gcc/Makefile
+++ b/devel/zpu-gcc/Makefile
@@ -2,6 +2,7 @@
PORTNAME= zpu-gcc
PORTVERSION= 1.0
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://opensource.zylin.com/zpudownload.html/
MASTER_SITES= LOCAL/db
diff --git a/devel/zpu-gcc/files/patch-build.sh b/devel/zpu-gcc/files/patch-build.sh
index 6698af3eb4a0..40b658f17edb 100644
--- a/devel/zpu-gcc/files/patch-build.sh
+++ b/devel/zpu-gcc/files/patch-build.sh
@@ -28,7 +28,7 @@
-make
-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
++../gcc/configure --target=zpu-elf --prefix=%%PREFIX%%/zpu --infodir=%%PREFIX%%/share/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
+%%MAKE_CMD%%
+#gmake install