Don't build unused shared versions of internal convenience libraries.
This cuts the prodigious build time almost in half. Compile two source files without -Wcast-align as this will raise a warning on strict alignment architectures, which together with -Werror aborts the build. The cast usage itself is safe.
This commit is contained in:
parent
c8951b746e
commit
8ae2d6fb43
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.7 2007/03/22 17:19:09 naddy Exp $
|
||||
# $OpenBSD: Makefile,v 1.8 2007/03/25 21:50:20 naddy Exp $
|
||||
|
||||
COMMENT-main= "eXtensible Open Router Platform"
|
||||
|
||||
@ -29,6 +29,7 @@ WANTLIB= c crypto curses m stdc++
|
||||
|
||||
USE_GMAKE= Yes
|
||||
USE_LIBTOOL= Yes
|
||||
LIBTOOL_FLAGS= --tag=disable-shared
|
||||
|
||||
CONFIGURE_STYLE=gnu
|
||||
CONFIGURE_ARGS= --enable-optimize --disable-debug
|
||||
|
12
net/xorp/patches/patch-fea_Makefile_in
Normal file
12
net/xorp/patches/patch-fea_Makefile_in
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-fea_Makefile_in,v 1.1 2007/03/25 21:50:20 naddy Exp $
|
||||
--- fea/Makefile.in.orig Sun Mar 25 17:13:54 2007
|
||||
+++ fea/Makefile.in Sun Mar 25 17:14:58 2007
|
||||
@@ -760,6 +760,8 @@ distclean-depend:
|
||||
@AMDEP_TRUE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
$(LTCXXCOMPILE) -c -o $@ `test -f $< || echo '$(srcdir)/'`$<
|
||||
|
||||
+mfea_proto_comm.lo rawsock.lo: CXXFLAGS := $(filter-out -Wcast-align,$(CXXFLAGS))
|
||||
+
|
||||
xorp_fea_dummy-fea.o: fea.cc
|
||||
@AMDEP_TRUE@ source='fea.cc' object='xorp_fea_dummy-fea.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@ depfile='$(DEPDIR)/xorp_fea_dummy-fea.Po' tmpdepfile='$(DEPDIR)/xorp_fea_dummy-fea.TPo' @AMDEPBACKSLASH@
|
Loading…
Reference in New Issue
Block a user