Skip to content

Commit

Permalink
GCC: remove go from gcc
Browse files Browse the repository at this point in the history
convert to versionless bee-file
  • Loading branch information
david committed Nov 13, 2017
1 parent 9fea20c commit 7cb613b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions gcc-5.3.0-0.bee → gcc.be0
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/env beesh

# BEE_VERSION gcc-5.3.0-1

SRCURL[0]="http://ftp.gnu.org/gnu/gcc/gcc-${PKGVERSION}/gcc-${PKGVERSION}.tar.bz2"

LIBEXECDIR=/usr/lib
Expand All @@ -9,7 +11,7 @@ mee_patch_post() {

# ignore libiberty.. used from binutils..
sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in

# don't fix includes..
sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
}
Expand All @@ -21,7 +23,7 @@ mee_configure() {
--enable-threads=posix \
--enable-__cxa_atexit \
--enable-clocale=gnu \
--enable-languages=c,fortran,c++,go,objc,obj-c++ \
--enable-languages=c,fortran,c++,objc,obj-c++ \
--disable-multilib \
--with-system-zlib
}
Expand All @@ -43,10 +45,10 @@ mee_install_post() {

mv -v ${D}${LIBDIR}64/* ${D}${LIBDIR}
rmdir -v ${D}${LIBDIR}64

mkdir -p ${D}${DATADIR}/gdb/auto-load/${LIBDIR}
mv -v ${D}${LIBDIR}/*-gdb.py ${D}${DATADIR}/gdb/auto-load/${LIBDIR}

echo "${S}/contrib/test_summary | grep -A7 Sum"
echo "grep FAIL ${B}/check.log"
}

0 comments on commit 7cb613b

Please sign in to comment.