1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-17 22:27:06 +00:00

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.
This commit is contained in:
Leonid Pliushch 2020-11-09 01:17:53 +02:00
parent 365601ffb1
commit a2e98e0fea

View File

@ -9,7 +9,7 @@ TERMUX_PKG_BREAKS="iverilog-dev"
TERMUX_PKG_REPLACES="iverilog-dev"
termux_step_pre_configure() {
CFLAGS="${CFLAGS/-Oz/-Os}"
unset CFLAGS
LDFLAGS+=" -lm"
aclocal
autoconf