]> git.pld-linux.org Git - packages/vlc.git/commitdiff
- patch for using only given CFLAGS for opts
authorJacek Konieczny <jajcus@pld-linux.org>
Mon, 4 Sep 2000 14:56:34 +0000 (14:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    vlc-CFLAGS.patch -> 1.1

vlc-CFLAGS.patch [new file with mode: 0644]

diff --git a/vlc-CFLAGS.patch b/vlc-CFLAGS.patch
new file mode 100644 (file)
index 0000000..242464b
--- /dev/null
@@ -0,0 +1,54 @@
+diff -durN vlc-0.1.99i.orig/Makefile.in vlc-0.1.99i/Makefile.in
+--- vlc-0.1.99i.orig/Makefile.in       Thu Aug 24 01:45:27 2000
++++ vlc-0.1.99i/Makefile.in    Sun Sep  3 17:12:18 2000
+@@ -84,50 +84,9 @@
+ CFLAGS += -D_REENTRANT
+ CFLAGS += -D_GNU_SOURCE
+-# flags needed for clean beos compilation
+-ifeq ($(SYS),beos)
+-CFLAGS += -Wno-multichar -Wno-ctor-dtor-privacy -Woverloaded-virtual
+-endif
+-
+-# Optimizations : don't compile debug versions with them
+-ifeq ($(DEBUG),0)
+-CFLAGS += -O6
+-CFLAGS += -ffast-math -funroll-loops -fargument-noalias-global
+-CFLAGS += -fomit-frame-pointer
+-
+-# Optimizations for x86 familiy
+-ifneq (,$(findstring 86,$(ARCH)))
+-CFLAGS += -malign-double
+-# Eventual Pentium Pro optimizations
+-ifneq (,$(findstring ppro,$(ARCH)))
+-ifneq ($(SYS), BSD)
+-CFLAGS += -march=pentiumpro
+-endif
+-else
+-CFLAGS += -march=pentium
+-endif
+ # Eventual MMX optimizations for x86
+ ifneq (,$(findstring mmx,$(ARCH)))
+ CFLAGS += -DHAVE_MMX
+-endif
+-endif
+-
+-# Optimizations for PowerPC
+-ifneq (,$(findstring powerpc,$(ARCH)))
+-# 604e
+-CFLAGS += -mcpu=604e -mmultiple -mhard-float -mstring
+-# G3
+-#CFLAGS += -mcpu=750 -mmultiple -mhard-float -mstring
+-# G4
+-#CFLAGS += -mcpu=7400 -mmultiple -mhard-float -mstring
+-endif
+-
+-# Optimizations for Sparc
+-ifneq (,$(findstring sparc,$(ARCH)))
+-CFLAGS += -mhard-float
+-endif
+-
+-# End of optimizations
+ endif
+ #
This page took 0.197612 seconds and 4 git commands to generate.