patch-src_makefile 961 B

123456789101112131415161718192021222324252627
  1. $OpenBSD: patch-src_makefile,v 1.2 2006/08/04 23:34:39 espie Exp $
  2. --- src/makefile.orig Sat Jul 6 19:34:20 2002
  3. +++ src/makefile Sat Aug 5 00:56:04 2006
  4. @@ -16,7 +16,7 @@ INSTALL_BINARY_DIR = /usr/local/bin/
  5. INCLUDES = -I.
  6. LIBRARIES = -ldl -lm
  7. -CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC
  8. +CFLAGS = $(INCLUDES) -Wall -Werror -fPIC $(OPTS)
  9. CXXFLAGS = $(CFLAGS)
  10. PLUGINS = ../plugins/amp.so \
  11. ../plugins/delay.so \
  12. @@ -36,11 +36,11 @@ CPP = c++
  13. ../plugins/%.so: plugins/%.c ladspa.h
  14. $(CC) $(CFLAGS) -o plugins/$*.o -c plugins/$*.c
  15. - $(LD) -o ../plugins/$*.so plugins/$*.o -shared
  16. + $(CC) $(CFLAGS) -shared -o ../plugins/$*.so plugins/$*.o
  17. ../plugins/%.so: plugins/%.cpp ladspa.h
  18. $(CPP) $(CXXFLAGS) -o plugins/$*.o -c plugins/$*.cpp
  19. - $(CPP) -o ../plugins/$*.so plugins/$*.o -shared
  20. + $(CPP) $(CXXFLAGS) -shared -o ../plugins/$*.so plugins/$*.o
  21. ###############################################################################
  22. #