openbsd-ports/audio/cmt/patches/patch-src_makefile

21 lines
560 B
Plaintext

$OpenBSD: patch-src_makefile,v 1.2 2006/08/04 23:54:31 espie Exp $
--- src/makefile.orig Thu Dec 19 21:52:51 2002
+++ src/makefile Sat Aug 5 01:49:13 2006
@@ -68,7 +68,7 @@ plugin: $(PLUGIN_LIB)
targets: $(PLUGIN_LIB)
$(PLUGIN_LIB): $(PLUGIN_OBJECTS)
- $(CXX) -shared \
+ $(CXX) -shared $(CXXFLAGS) \
-o $(PLUGIN_LIB) \
$(PLUGIN_OBJECTS)
@@ -123,3 +123,7 @@ backup: clean
###############################################################################
+.SUFFIXES: .o .cpp
+
+.cpp.o:
+ ${CXX} ${CXXFLAGS} -c -o $*.o $*.cpp