summary refs log tree commit diff
path: root/sysdeps/s390/s390-32/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/s390/s390-32/Makefile')
-rw-r--r--sysdeps/s390/s390-32/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysdeps/s390/s390-32/Makefile b/sysdeps/s390/s390-32/Makefile
new file mode 100644
index 0000000000..057862d91b
--- /dev/null
+++ b/sysdeps/s390/s390-32/Makefile
@@ -0,0 +1,11 @@
+pic-ccflag = -fpic
+
+ifeq ($(subdir),gmon)
+sysdep_routines += s390-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