build Dialogs.C without optimization in order to get reasonable build

times on an i386 with only 256MB (minutes vs hours)

ok Zvezdan Petkovic <zvezdan at cs.wm.edu>
This commit is contained in:
sturm 2005-01-09 07:49:05 +00:00
parent 4e4fb341ff
commit 791978b727
2 changed files with 18 additions and 1 deletions

View File

@ -1,8 +1,9 @@
# $OpenBSD: Makefile,v 1.33 2004/08/10 09:26:13 xsa Exp $
# $OpenBSD: Makefile,v 1.34 2005/01/09 07:49:05 sturm Exp $
COMMENT= "graphical frontend for LaTeX (nearly WYSIWYG)"
DISTNAME= lyx-1.3.4
PKGNAME= ${DISTNAME}p0
CATEGORIES= print
HOMEPAGE= http://www.lyx.org/

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-src_frontends_qt2_Makefile_in,v 1.1 2005/01/09 07:49:06 sturm Exp $
--- src/frontends/qt2/Makefile.in.orig Sat Jan 8 11:33:43 2005
+++ src/frontends/qt2/Makefile.in Sat Jan 8 11:35:33 2005
@@ -723,6 +723,12 @@ distclean-depend:
$(LTCXXCOMPILE) -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
CXXDEPMODE = @CXXDEPMODE@
+Dialogs.lo: Dialogs.C
+@AMDEP_TRUE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
+@AMDEP_TRUE@ depfile='$(DEPDIR)/$*.Plo' tmpdepfile='$(DEPDIR)/$*.TPlo' @AMDEPBACKSLASH@
+@AMDEP_TRUE@ $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+ $(LTCXXCOMPILE) -O0 -c -o $@ `test -f '$<' || echo '$(srcdir)/'`$<
+
mostlyclean-libtool:
-rm -f *.lo