From e376fd97ac8f376df7f09124da9b45953282a78a Mon Sep 17 00:00:00 2001 From: Arun Thomas Date: Sun, 24 Jul 2011 18:46:51 +0200 Subject: [PATCH] Skip ACK libs building with GCC/clang --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index 7a0584402..1871be377 100644 --- a/Makefile +++ b/Makefile @@ -30,7 +30,11 @@ usage: # 'make install' target. # # etcfiles has to be done first. +.if ${COMPILER_TYPE} == "ack" world: mkfiles etcfiles includes libraries elf-libraries dep-all install etcforce +.else +world: mkfiles etcfiles includes elf-libraries dep-all install etcforce +.endif mkfiles: make -C share/mk install @@ -39,7 +43,9 @@ includes: $(MAKE) -C nbsd_include includes $(MAKE) -C include includes $(MAKE) -C lib includes NBSD_LIBC=yes +.if ${COMPILER_TYPE} == "ack" $(MAKE) -C lib includes NBSD_LIBC=no +.endif libraries: includes $(MAKE) -C lib build_ack -- 2.44.0