termux-packages/packages/iverilog/build.sh
Leonid Pliushch a2e98e0fea iverilog: unset CFLAGS
CFLAGS are used by host GCC, so unset them. This variable is
not used to build iverilog anyway since it is mostly in C++
and uses CXXFLAGS.
2020-11-09 01:17:53 +02:00

17 lines
556 B
Bash

TERMUX_PKG_HOMEPAGE=http://iverilog.icarus.com/
TERMUX_PKG_DESCRIPTION="Icarus Verilog compiler and simulation tool"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_VERSION=11.0
TERMUX_PKG_SRCURL=https://github.com/steveicarus/iverilog/archive/v${TERMUX_PKG_VERSION/./_}.tar.gz
TERMUX_PKG_SHA256=6327fb900e66b46803d928b7ca439409a0dc32731d82143b20387be0833f1c95
TERMUX_PKG_DEPENDS="libbz2, libc++, readline, zlib"
TERMUX_PKG_BREAKS="iverilog-dev"
TERMUX_PKG_REPLACES="iverilog-dev"
termux_step_pre_configure() {
unset CFLAGS
LDFLAGS+=" -lm"
aclocal
autoconf
}