diff options
Diffstat (limited to 'sysdeps/m68k/Makefile')
-rw-r--r-- | sysdeps/m68k/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/m68k/Makefile b/sysdeps/m68k/Makefile index 37a2f2de82..22a961ccec 100644 --- a/sysdeps/m68k/Makefile +++ b/sysdeps/m68k/Makefile @@ -26,6 +26,11 @@ asm-CPPFLAGS += $(m68k-syntax-flag) pic-ccflag = -fpic +ifeq ($(subdir),csu) +# Make sure gcrt1.o uses the large PIC model +CFLAGS-gmon-start.c := -fPIC +endif + ifeq ($(subdir),setjmp) # Make sure setjmp.c is compiled with a frame pointer CFLAGS-setjmp.c := -fno-omit-frame-pointer |