diff options
Diffstat (limited to 'arch/s390')
-rw-r--r-- | arch/s390/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/s390/Makefile b/arch/s390/Makefile index fc8fb20e7fc0..83ef8724c833 100644 --- a/arch/s390/Makefile +++ b/arch/s390/Makefile | |||
@@ -22,7 +22,8 @@ STACK_SIZE := 8192 | |||
22 | CHECKFLAGS += -D__s390__ -msize-long | 22 | CHECKFLAGS += -D__s390__ -msize-long |
23 | else | 23 | else |
24 | LDFLAGS := -m elf64_s390 | 24 | LDFLAGS := -m elf64_s390 |
25 | MODFLAGS += -fpic -D__PIC__ | 25 | KBUILD_AFLAGS_MODULE += -fpic -D__PIC__ |
26 | KBUILD_CFLAGS_MODULE += -fpic -D__PIC__ | ||
26 | KBUILD_CFLAGS += -m64 | 27 | KBUILD_CFLAGS += -m64 |
27 | KBUILD_AFLAGS += -m64 | 28 | KBUILD_AFLAGS += -m64 |
28 | UTS_MACHINE := s390x | 29 | UTS_MACHINE := s390x |