This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]