Don't use -Werror, fixes build on arm. From Brad.
This commit is contained in:
parent
eb2967c29c
commit
eaa203edfb
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.22 2011/07/12 19:54:12 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.23 2011/08/18 19:22:31 sthen Exp $
|
||||
|
||||
COMMENT-main= eXtensible Open Router Platform
|
||||
|
||||
@ -10,7 +10,6 @@ CATEGORIES= net
|
||||
HOMEPAGE= http://www.xorp.org/
|
||||
|
||||
BROKEN-sparc64= ICE in route_table_fanout.cc
|
||||
BROKEN-arm= asyncio.cc fails
|
||||
|
||||
# GPLv2
|
||||
PERMIT_PACKAGE_CDROM= Yes
|
||||
|
14
net/xorp/patches/patch-configure
Normal file
14
net/xorp/patches/patch-configure
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-configure,v 1.1 2011/08/18 19:22:31 sthen Exp $
|
||||
--- configure.orig Wed Jan 7 13:47:14 2009
|
||||
+++ configure Tue Aug 16 21:31:41 2011
|
||||
@@ -43568,8 +43568,8 @@ echo "${ECHO_T}no" >&6; }
|
||||
CPARANOIDFLAGS="-Werror -W -Wall -Wwrite-strings -Wbad-function-cast -Wcast-qual -Wpointer-arith -Wcast-align -Wnested-externs"
|
||||
CXXPARANOIDFLAGS="-Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Wstrict-prototypes -Woverloaded-virtual -Wtraditional"
|
||||
else
|
||||
- CPARANOIDFLAGS="-Werror -W -Wall -Wwrite-strings -Wbad-function-cast -Wmissing-prototypes -Wcast-qual -Wmissing-declarations -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wnested-externs"
|
||||
- CXXPARANOIDFLAGS="-Werror -W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Wstrict-prototypes -Woverloaded-virtual -Wtraditional"
|
||||
+ CPARANOIDFLAGS="-W -Wall -Wwrite-strings -Wbad-function-cast -Wmissing-prototypes -Wcast-qual -Wmissing-declarations -Wpointer-arith -Wcast-align -Wstrict-prototypes -Wnested-externs"
|
||||
+ CXXPARANOIDFLAGS="-W -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -Wcast-align -Wstrict-prototypes -Woverloaded-virtual -Wtraditional"
|
||||
fi
|
||||
|
||||
|
@ -1,12 +0,0 @@
|
||||
$OpenBSD: patch-fea_data_plane_io_Makefile_in,v 1.1 2009/01/15 10:14:19 sthen Exp $
|
||||
--- fea/data_plane/io/Makefile.in.orig Tue Jan 13 11:53:23 2009
|
||||
+++ fea/data_plane/io/Makefile.in Tue Jan 13 11:53:12 2009
|
||||
@@ -299,6 +299,8 @@ distclean-compile:
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(LTCXXCOMPILE) -c -o $@ $<
|
||||
|
||||
+io_ip_socket.lo io_tcpudp_socket.lo: CXXFLAGS := $(filter-out -Wcast-align,$(CXXFLAGS))
|
||||
+
|
||||
mostlyclean-libtool:
|
||||
-rm -f *.lo
|
||||
|
Loading…
Reference in New Issue
Block a user