about summary refs log tree commit diff
path: root/sysdeps/s390/s390-64/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/s390/s390-64/Makefile')
-rw-r--r--sysdeps/s390/s390-64/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysdeps/s390/s390-64/Makefile b/sysdeps/s390/s390-64/Makefile
new file mode 100644
index 0000000000..179c122de7
--- /dev/null
+++ b/sysdeps/s390/s390-64/Makefile
@@ -0,0 +1,11 @@
+pic-ccflag = -fPIC
+
+ifeq ($(subdir),gmon)
+sysdep_routines += s390x-mcount
+endif
+
+ifeq ($(subdir),elf)
+CFLAGS-rtld.c += -Wno-uninitialized -Wno-unused
+CFLAGS-dl-load.c += -Wno-unused
+CFLAGS-dl-reloc.c += -Wno-unused
+endif