diff options
author | 2004-08-19 22:46:18 +0000 | |
---|---|---|
committer | 2004-08-19 22:46:18 +0000 | |
commit | 7a14e55674714bd0163f265eabe9a9590971b68d (patch) | |
tree | 0db7440ef324b00c0e18e9bab6c3348a0e10d4d6 /media-libs/libdsp/files/Makefile.patch | |
parent | dep fix & longdescr (diff) | |
download | historical-7a14e55674714bd0163f265eabe9a9590971b68d.tar.gz historical-7a14e55674714bd0163f265eabe9a9590971b68d.tar.bz2 historical-7a14e55674714bd0163f265eabe9a9590971b68d.zip |
Moved from media-sound/libdsp to media-libs/libdsp.
Diffstat (limited to 'media-libs/libdsp/files/Makefile.patch')
-rw-r--r-- | media-libs/libdsp/files/Makefile.patch | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/media-libs/libdsp/files/Makefile.patch b/media-libs/libdsp/files/Makefile.patch new file mode 100644 index 000000000000..b4a69d176b60 --- /dev/null +++ b/media-libs/libdsp/files/Makefile.patch @@ -0,0 +1,53 @@ +--- libDSP/Makefile.old 2004-07-29 14:11:11.843296616 +0900 ++++ libDSP/Makefile 2004-07-29 14:50:34.059185216 +0900 +@@ -29,14 +29,9 @@ + #CFLAGS = -march=athlon-tbird -mcpu=athlon-xp -m3dnow # -msse -mfpmath=sse + #CFLAGS = -march=pentium3 -mcpu=pentium3 -msse -mfpmath=sse + #CFLAGS = -march=pentium4 -mcpu=pentium4 -msse2 -mfpmath=sse -m128bit-long-double +-CFLAGS += -O3 -ffast-math -funroll-loops -fprefetch-loop-arrays -Wall -Werror #-g +-CFLAGS += -ftracer +-OPTCFLAGS = -march=pentium2 -mcpu=pentium4 -mmmx + #OPTCFLAGS = -march=athlon-tbird -mcpu=athlon-xp -m3dnow + #OPTCFLAGS = -march=pentium3 -mcpu=pentium3 -msse + #OPTCFLAGS = -march=pentium4 -mcpu=pentium4 -msse2 -m128bit-long-double +-OPTCFLAGS += -O3 -ffast-math -funroll-loops -fprefetch-loop-arrays -Wall -Werror #-g +-OPTCFLAGS += -ftracer + CXXFLAGS = $(CFLAGS) + + # thread safety +@@ -52,7 +47,7 @@ + # define for Intel Integrated Performance Primitives support + #DEFS += -DDSP_IPP + +-INCS = -I. #-I/usr/local/include ++INCS = -I. -I../Inlines #-I/usr/local/include + #INCS += `pkg-config --cflags fftw3f fftw3` + #INCS += -I/opt/intel/ipp/include + +@@ -154,7 +149,7 @@ + $(LIBTOOL) --mode=compile $(CXX) $(CXXFLAGS) $(DEFS) $(INCS) -c $< + + X86.$(OBJ): X86.$(CSRC) +- $(LIBTOOL) --mode=compile $(CC) $(OPTCFLAGS) $(DEFS) $(INCS) -c $< ++ $(LIBTOOL) --mode=compile $(CC) $(CFLAGS) $(DEFS) $(INCS) -c $< + + libdsp.la: $(OBJS) + $(LIBTOOL) --mode=link $(CXX) $(LDFLAGS) -rpath $(TGPREFIX)/lib -version-info $(VERSION) -o libdsp.la $(LOBJS) $(LIBS) +--- DynThreads/Makefile.old 2004-07-29 14:14:35.034406872 +0900 ++++ DynThreads/Makefile 2004-07-29 14:51:14.760997600 +0900 +@@ -21,7 +21,7 @@ + CXXFLAGS = -march=pentium2 -mcpu=athlon-xp -O2 -Wall -Werror #-ggdb + DEFS = -D_REENTRANT -D_THREAD_SAFE + #DEFS += -DUSE_NPTL +-INCS = #-I/usr/local/include ++INCS = -I. -I../Inlines #-I/usr/local/include + LIBS = -lpthread + + PREFIX = /usr/local +@@ -57,6 +57,3 @@ + + DynThreads.dep: $(SRCS) + $(CXX) -MM $(DEFS) $(INCS) $(SRCS) >DynThreads.dep +- +-include DynThreads.dep +- |