File ZynAddSubFX.dif of Package ZynAddSubFX

Index: ZynAddSubFX-2.4.1/src/Makefile
===================================================================
--- ZynAddSubFX-2.4.1.orig/src/Makefile
+++ ZynAddSubFX-2.4.1/src/Makefile
@@ -1,11 +1,6 @@
 include Makefile.inc
 
-ifneq ($(MAKECMDGOALS),debug)
-  CXXFLAGS= -O2 -Wall -g -fPIC
-else 
-  CXXFLAGS= -O2 -Wall -Wpointer-arith -fPIC
-endif
-
+CXXFLAGS = $(CDEBUGFLAGS)
 CXXFLAGS += -DOS_$(OS_PORT) -D$(MIDIIN)MIDIIN -DFFTW_VERSION_$(FFTW_VERSION) -DASM_F2I_$(ASM_F2I) -ggdb
 
 ifeq ($(DISABLE_GUI),YES)
@@ -94,7 +89,7 @@ all:
 
 
 ifeq ($(AUDIOOUT),DSSI) 
-	$(CXX) -shared  -o zynaddsubfx.so */*.o *.o $(LIBS) 
+	$(CXX) $(CXXFLAGS) -shared  -o zynaddsubfx.so */*.o *.o $(LIBS)
 else
 ifeq ($(AUDIOOUT),VST) 
 	$(CXX) -shared -o zynaddsubfx_vst.dll */*.o *.o ../../vstsdk2/source/common/AudioEffect.cpp ../../vstsdk2/source/common/audioeffectx.cpp  $(LIBS) zynaddsubfx_gcc.def
@@ -102,7 +97,7 @@ else
 
 
 ifeq ($(OS_PORT),LINUX) 
-	$(CXX) -o zynaddsubfx */*.o *.o $(LIBS)
+	$(CXX) $(CXXFLAGS) -o zynaddsubfx */*.o *.o $(LIBS)
 else
 	$(CXX) -o zynaddsubfx.exe */*.o *.o $(LIBS)
 endif