about summary refs log tree commit diff
path: root/sysdeps/hppa/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/hppa/Makefile')
-rw-r--r--sysdeps/hppa/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/hppa/Makefile b/sysdeps/hppa/Makefile
index 9e24349231..078f90a60c 100644
--- a/sysdeps/hppa/Makefile
+++ b/sysdeps/hppa/Makefile
@@ -24,6 +24,8 @@ LDFLAGS-c_pic.os += -Wl,--unique=.text*
 ifeq ($(subdir),elf)
 CFLAGS-rtld.c += -mdisable-fpregs
 sysdep-dl-routines += dl-symaddr dl-fptr
+# dl-fptr.c needs a complete rewrite to fix ISO C aliasing violations.
+CFLAGS-dl-fptr.c = -Wno-error
 sysdep_routines += $(sysdep-dl-routines)
 sysdep-rtld-routines += $(sysdep-dl-routines)
 endif