diff options
Diffstat (limited to 'development/simavr')
-rw-r--r-- | development/simavr/simavr.SlackBuild | 16 | ||||
-rw-r--r-- | development/simavr/simavr.info | 6 |
2 files changed, 12 insertions, 10 deletions
diff --git a/development/simavr/simavr.SlackBuild b/development/simavr/simavr.SlackBuild index 508a322e23819..a8b989b385fb1 100644 --- a/development/simavr/simavr.SlackBuild +++ b/development/simavr/simavr.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=simavr -VERSION=${VERSION:-git20170615} +VERSION=${VERSION:-git20170904} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -41,16 +41,16 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" + SLKCFLAGS="-g -O0 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" + SLKCFLAGS="-g -O0 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" + SLKCFLAGS="-g -O0 -fPIC" LIBDIRSUFFIX="64" else - SLKCFLAGS="-O2" + SLKCFLAGS="-g -O0" LIBDIRSUFFIX="" fi @@ -71,9 +71,11 @@ find -L . \ sed -i -e "s#\$(DESTDIR)/lib#\$(DESTDIR)/lib${LIBDIRSUFFIX}#" simavr/Makefile sed -i -e "s#libdir=${exec_prefix}/lib#libdir=${exec_prefix}/lib${LIBDIRSUFFIX}#" \ - simavr/simavr.pc simavr/simavr-avr.pc + simavr/simavr.pc simavr/simavr-avr.pc simavr/simavrparts.pc -make AVR_ROOT=/usr/avr RELEASE=1 build-simavr +make clean +make AVR_ROOT=/usr/avr \ + CFLAGS="-Wall -Wextra $SLKCFLAGS -std=gnu99 -Wno-sign-compare -Wno-unused-parameter" make PREFIX="/usr" DESTDIR="$PKG/usr" install find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ diff --git a/development/simavr/simavr.info b/development/simavr/simavr.info index c2ed3fe06dd75..9c5013eaf5b61 100644 --- a/development/simavr/simavr.info +++ b/development/simavr/simavr.info @@ -1,8 +1,8 @@ PRGNAM="simavr" -VERSION="git20170615" +VERSION="git20170904" HOMEPAGE="https://github.com/buserror/simavr" -DOWNLOAD="https://www.dropbox.com/s/i4jymt5o0hi3e5y/simavr-git20170615.tar.gz" -MD5SUM="651329385f68baedb0f74a363fa1d87d" +DOWNLOAD="https://www.dropbox.com/s/wizo8j0fmcq14mr/simavr-git20170904.tar.gz?dl=0" +MD5SUM="93f10b449440603adc3bcea298059ae3" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="avr-gcc avr-libc" |