diff --git a/src/sys/graphics/Makefile b/src/sys/graphics/Makefile index 9131691..6dba8cf 100755 --- a/src/sys/graphics/Makefile +++ b/src/sys/graphics/Makefile @@ -24,7 +24,7 @@ # Compile the source files .cpp.o: - $(G++) -Wall -fomit-frame-pointer -O -I./ -g -c -o $@ $< + $(G++) -Wall -I./ -g -c -o $@ $< .cc.s: $(G++) -Wall -fomit-frame-pointer -O -I../../lib/libc/include -S -o $@ $< @@ -40,4 +40,4 @@ # Clean up the junk clean: - $(REMOVE) $(OBJS) $(BINARY) + $(REMOVE) $(OBJS) $(BINARY) *.core diff --git a/src/sys/graphics/objgfx30.cpp b/src/sys/graphics/objgfx30.cpp index 5329d94..589da97 100755 --- a/src/sys/graphics/objgfx30.cpp +++ b/src/sys/graphics/objgfx30.cpp @@ -121,7 +121,7 @@ lastclr=1000; switch (BPP) { case 8: - asm __volatile__( + asm( "movl $256,%%ecx \n" "movl $769,%%ebx \n" "xor %%eax,%%eax \n"