openbsd-ports/devel/mico/patches/patch-ir_Makefile
2002-01-08 12:33:23 +00:00

15 lines
339 B
Plaintext

$OpenBSD: patch-ir_Makefile,v 1.1 2002/01/08 12:33:23 naddy Exp $
--- ir/Makefile.orig Mon Jan 7 17:08:38 2002
+++ ir/Makefile Tue Jan 8 02:29:39 2002
@@ -45,6 +45,10 @@ endif
SHARED_OBJS=$(STATIC_OBJS:.o=.pic.o)
+ifeq ($(build_cpu), sparc)
+ir_impl.o: CXXFLAGS=$(patsubst -O%,,$(CXXFLAGS))
+endif
+
# normal rules
all: lib prg