Disable hardcoded optimization (-O) to enable build on alpha.

ok naddy@
This commit is contained in:
merdely 2008-02-28 21:47:52 +00:00
parent 473cd14287
commit f7de3162de
2 changed files with 15 additions and 7 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.10 2007/09/16 02:53:02 merdely Exp $
# $OpenBSD: Makefile,v 1.11 2008/02/28 21:47:52 merdely Exp $
COMMENT= free and complete CORBA-compliant implementation
DISTNAME= mico-2.3.6
PKGNAME= $(DISTNAME)p1
PKGNAME= $(DISTNAME)p2
CATEGORIES= devel
# The build framework accommodates only a single shared lib extension.
@ -17,8 +17,6 @@ LIB_VERSION= 2.0
HOMEPAGE= http://www.mico.org/
MASTER_SITES= ${HOMEPAGE}
MAINTAINER= Andre S. Barbosa <andre@ravel.ufrj.br>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
@ -28,6 +26,7 @@ WANTLIB= c m ncurses readline stdc++
USE_GMAKE= Yes
CONFIGURE_STYLE= gnu
CONFIGURE_ENV= LIB_VERSION=${LIB_VERSION}
CONFIGURE_ARGS+= --disable-optimize
MODGNU_CONFIG_GUESS_DIRS= ${WRKSRC}/admin

View File

@ -1,6 +1,6 @@
$OpenBSD: patch-configure,v 1.1 2006/01/09 23:38:18 naddy Exp $
--- configure.orig Mon Jan 9 12:41:55 2006
+++ configure Mon Jan 9 12:42:27 2006
$OpenBSD: patch-configure,v 1.2 2008/02/28 21:47:52 merdely Exp $
--- configure.orig Fri Sep 21 08:08:22 2001
+++ configure Thu Feb 28 11:12:28 2008
@@ -1774,7 +1774,7 @@ rm -f conftest*
# must not use .so.1.0 here
;;
@ -10,3 +10,12 @@ $OpenBSD: patch-configure,v 1.1 2006/01/09 23:38:18 naddy Exp $
;;
*cygwin32*)
have_cdk=yes;
@@ -1854,8 +1854,6 @@ fi
#
-CXXFLAGS=`echo " $CXXFLAGS " | sed -e 's/ -g / /g' -e 's/ -O[0-9]* / /g'`
-CFLAGS=`echo " $CFLAGS " | sed -e 's/ -g / /g' -e 's/ -O[0-9]* / /g'`
if test X"$use_opt" != Xno; then
CXXFLAGS="$CONF_OPT_FLAGS $CXXFLAGS"