fixed a nasty bug where at -O6 teh compiler optimized cothreads.c beyond the point of functioning

Original commit message from CVS:
fixed a nasty bug where at -O6 teh compiler optimized cothreads.c beyond the point of functioning
This commit is contained in:
Erik Walthinsen 2001-01-01 06:57:46 +00:00
parent 62a37e4ac3
commit e70fb19402

View file

@ -46,6 +46,12 @@ libgst_la_SOURCES = \
cothreads.c \
gstscheduler.c
# the compiler shoots cothreads.c in the head at -O6
cothreads.lo: cothreads.c
$(LTCOMPILE) -O2 -c $<
cothreads.o: cothreads.c
$(COMPILE) -O2 -c $<
libgstincludedir = $(includedir)/gst
libgstinclude_HEADERS = \
gst.h \
@ -82,8 +88,6 @@ noinst_HEADERS = \
gsti386.h \
gstppc.h
CFLAGS += -g -Wall
libgst_la_LIBADD = $(GLIB_LIBS) $(GTK_LIBS) $(XML_LIBS)
libgst_la_LDFLAGS = -version-info $(STREAMER_CURRENT):$(STREAMER_REVISION):$(STREAMER_AGE)