steinwurf / cpuid

C++ library for detecting CPU capabilities
https://cpuid.steinwurf.com
Other
105 stars 21 forks source link

fix build with pic flag on x86 #15

Closed jpihl closed 10 years ago

jpihl commented 10 years ago

I've fixed a minor issue when specifying the -fPIC flag (used in fifi-swig). It seems that one of the registers are being used by pic.

http://gcc.1065356.n5.nabble.com/attachment/900384/0/r.diff.txt