This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
overriding sfp-machine.h from an add-on
- From: Aldy Hernandez <aldyh at redhat dot com>
- To: libc-alpha at sources dot redhat dot com
- Date: Fri, 5 Dec 2003 17:10:55 -0400
- Subject: overriding sfp-machine.h from an add-on
Hi folks!
I'm working on an add-on that needs to override
sysdeps/powerpc/soft-fp/sfp-machine.h.
I have:
glibc-source/my-add-on/sysdeps/powerpc/soft-fp/sfp-machine.h
but the build system includes the add-on's soft-fp directory last:
-I../sysdeps/powerpc/soft-fp -I../my-add-on/sysdeps/powerpc/soft-fp
...hencing picking up the wrong sfp-machine.h.
I could put sfp-machine.h in my-add-on/sysdeps/powerpc/ which does get
included before, but that seems like cheating.
What's the recommended way of doing this?
Thanks.
Aldy