From 5e4cb3c9e398722fc38bee69b9e15afe8c9c4293 Mon Sep 17 00:00:00 2001 From: Tomasz Pala Date: Sat, 5 Jun 2010 22:20:10 +0000 Subject: [PATCH] - removed default configure options [-37m], fixed aclocal invocation Changed files: OpenCASCADE.spec -> 1.11 --- OpenCASCADE.spec | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/OpenCASCADE.spec b/OpenCASCADE.spec index 9f933ec..f0cdf53 100644 --- a/OpenCASCADE.spec +++ b/OpenCASCADE.spec @@ -99,7 +99,7 @@ cp ExprIntrp.tab.c lex.ExprIntrp.c ../../drv/ExprIntrp/ %build cd ros %{__libtoolize} -%{__aclocal} -I m4 +%{__aclocal} %{__autoconf} %{__autoheader} %{__automake} @@ -112,12 +112,7 @@ export CFLAGS="%{rpmcflags} -fno-strict-aliasing" export CXXFLAGS="%{rpmcflags} -fno-strict-aliasing" %endif LDFLAGS=-lpthread %configure \ - --disable-static \ - --disable-debug \ - --enable-production \ - --enable-draw \ - --enable-wok \ - --enable-wrappers \ + %{!?debug:--disable-debug --enable-production} \ --with-java-include="%{java_home}"/include %{__make} -- 2.44.0