diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -5,6 +5,7 @@ include ../source.mk builddir = obj_$$(printf '%s' $@ | sed 's/^[^_]*_//') abi_ver = $$(printf '%s\n' '$(OPK_SOURCE_VERSION_UPSTREAM)' | sed 's/[.].*//') legacy_abi_ver = $$(($(abi_ver) - 1)) +CFLAGS = -Os -g common_opts = \ --without-ada \ --without-tests \ @@ -13,7 +14,7 @@ common_opts = \ --with-install-prefix="$${PWD}/dest" \ --with-shared \ --with-cxx-shared \ - --with-debug \ + --without-debug \ --without-profile \ --with-termlib=tinfo \ --with-ticlib=tic \ @@ -38,7 +39,7 @@ nop: @: build_ncurses build_ncursesw build_ncurses_legacy build_ncursesw_legacy: - oh-autoconfigure -B $(builddir) -- $($@_opts) + CFLAGS='$(CFLAGS)' oh-autoconfigure -B $(builddir) -- $($@_opts) oh-autobuild -B $(builddir) touch $@ |