Browse Source

abduco&dvtm: Avoid modifying CFLAGS directly

android-5
Fredrik Fornwall 8 years ago
parent
commit
7c57d72e80
  1. 5
      packages/abduco/build.sh
  2. 5
      packages/dvtm/build.sh

5
packages/abduco/build.sh

@ -5,5 +5,6 @@ TERMUX_PKG_SRCURL=http://www.brain-dump.org/projects/abduco/abduco-${TERMUX_PKG_
TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_DEPENDS="libutil,dvtm"
export PREFIX=$TERMUX_PREFIX
CFLAGS+=" $CPPFLAGS"
termux_step_pre_configure () {
CFLAGS+=" $CPPFLAGS"
}

5
packages/dvtm/build.sh

@ -5,5 +5,6 @@ TERMUX_PKG_SRCURL=http://www.brain-dump.org/projects/dvtm/dvtm-${TERMUX_PKG_VERS
TERMUX_PKG_BUILD_IN_SRC=yes
TERMUX_PKG_DEPENDS="libutil, ncurses"
export PREFIX=$TERMUX_PREFIX
CFLAGS+=" $CPPFLAGS"
termux_step_pre_configure() {
CFLAGS+=" $CPPFLAGS"
}

Loading…
Cancel
Save