freebsd-ports/audio/cmt/files/patch-makefile
David W. Chapman Jr. 4e0524180c Update to 1.14
PR:		41890
Submitted by:	maintainer
2002-09-01 18:03:45 +00:00

22 lines
585 B
Text

--- src/makefile.orig Sat May 18 20:27:15 2002
+++ src/makefile Thu Aug 22 12:07:51 2002
@@ -13,8 +13,8 @@
#
INCLUDES = -I/usr/local/include/
-CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC
-CXXFLAGS = $(CFLAGS)
+CFLAGS += $(INCLUDES) -Wall -Werror -fPIC
+CXXFLAGS += $(CFLAGS)
PLUGIN_LIB = ../plugins/cmt.so
###############################################################################
@@ -61,7 +61,7 @@
targets: $(PLUGIN_LIB)
$(PLUGIN_LIB): $(PLUGIN_OBJECTS)
- $(CXX) -shared \
+ $(CXX) ${CXXFLAGS} -shared \
-o $(PLUGIN_LIB) \
$(PLUGIN_OBJECTS)