--- qemu/Makefile.target.mps 2005-02-22 11:06:38 +0100 +++ qemu/Makefile.target 2005-02-22 12:13:23 +0100 @@ -400,10 +400,18 @@ $(DYNGEN) -g -o $@ $< op.o: op.c - $(CC) $(OP_CFLAGS) $(DEFINES) -c -o $@ $< +ifeq ($(TARGET_BASE_ARCH), i386) + $(CC) $(OP_CFLAGS) $(DEFINES) -fno-pic -fno-stack-protector -c -o $@ $< +else + $(CC) $(OP_CFLAGS) $(DEFINES) -fno-pic -fno-stack-protector-all -c -o $@ $< +endif helper.o: helper.c +ifdef CONFIG_SOFTMMU + $(CC) $(HELPER_CFLAGS) $(DEFINES) -fno-pic -c -o $@ $< +else $(CC) $(HELPER_CFLAGS) $(DEFINES) -c -o $@ $< +endif ifeq ($(TARGET_BASE_ARCH), i386) op.o: op.c opreg_template.h ops_template.h ops_template_mem.h ops_mem.h ops_sse.h