endif
endif
-# Optimizations for x86 familiy
-ifneq (,$(findstring 86,$(ARCH)))
-CFLAGS += -mcpu=$(TUNING)
-endif
-
-# Optimizations for PowerPC
ifneq (,$(findstring powerpc,$(ARCH)))
+# Optimizations for PowerPC
CFLAGS += -mmultiple -mhard-float -mstring -mcpu=powerpc
+ifneq (,$(TUNING))
CFLAGS += -mtune=$(TUNING)
endif
-
-# Optimizations for Sparc
+else
ifneq (,$(findstring sparc,$(ARCH)))
+# Optimizations for Sparc
CFLAGS += -mhard-float
+ifneq (,$(TUNING))
+CFLAGS += -mcpu=$(TUNING)
+endif
+else
+# Generic optimizations
+ifneq (,$(TUNING))
+CFLAGS += -mcpu=$(TUNING)
+endif
+endif
endif
#end of optimisations
* input_ps.c: PS demux and packet management
*****************************************************************************
* Copyright (C) 1998, 1999, 2000 VideoLAN
- * $Id: input_ps.c,v 1.36 2001/10/02 16:46:59 massiot Exp $
+ * $Id: input_ps.c,v 1.37 2001/10/03 14:41:08 massiot Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
* Cyril Deguet <asmax@via.ecp.fr>
#undef p_packet_cache
free( p_input->p_method_data );
- free( p_input->p_plugin_data );
}
/*****************************************************************************