diff options
| author | Rosen Penev <rosenp@gmail.com> | 2021-03-04 14:45:01 -0800 |
|---|---|---|
| committer | Rosen Penev <rosenp@gmail.com> | 2021-03-27 21:51:50 -0700 |
| commit | a31b7320077c340268d31642ded69cc66fbc230c (patch) | |
| tree | 884808c8657f774a56f82720486b88017f30e6a6 /net/softethervpn5 | |
| parent | 3ad92293da92b2d5fc3de1ccc214a69f2b081f2e (diff) | |
treewide: build CMake projects with Ninja
faster to compile.
A small selection of packages was tested going from:
Executed in 696.30 secs fish external
usr time 82.98 mins 395.00 micros 82.98 mins
sys time 9.02 mins 0.00 micros 9.02 mins
to:
Executed in 592.20 secs fish external
usr time 84.84 mins 361.00 micros 84.84 mins
sys time 8.85 mins 57.00 micros 8.85 mins
Tested by running make -j 12 and wiping staging/build_dir/target_x
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'net/softethervpn5')
| -rw-r--r-- | net/softethervpn5/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/softethervpn5/Makefile b/net/softethervpn5/Makefile index 1c08ab6bd..f9dca5739 100644 --- a/net/softethervpn5/Makefile +++ b/net/softethervpn5/Makefile @@ -23,7 +23,7 @@ PKG_BUILD_DEPENDS:=softethervpn5/host include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/nls.mk -include $(INCLUDE_DIR)/cmake.mk +include ../../devel/ninja/ninja-cmake.mk define Package/softethervpn5/Default SECTION:=net @@ -84,7 +84,7 @@ export USE_MUSL=YES # BUG: outdated host/include/elf.h HOST_CFLAGS += $(FPIC) -DAT_HWCAP2=26 TARGET_CFLAGS += $(FPIC) -CMAKE_OPTIONS = -DICONV_LIB_PATH="$(ICONV_PREFIX)/lib" +CMAKE_OPTIONS += -DICONV_LIB_PATH="$(ICONV_PREFIX)/lib" # static build for host (hamcorebuilder), avoid -fpic on ncurses/host and shared libs can't be found on host define Host/Prepare |
