Commit 0f822746 authored by Brad Smith's avatar Brad Smith Committed by Guillaume Poirier

Changes the PowerPC ppccommon.h header so it no longer checks for a particular

OS such as Linux but instead looks for HAVE_ALTIVEC_H being set.
Fixes all *BSD/PowerPC builds.
parent da9787a4
......@@ -18,7 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111, USA.
*****************************************************************************/
#ifdef SYS_LINUX
#ifdef HAVE_ALTIVEC_H
#include <altivec.h>
#endif
......
......@@ -263,7 +263,7 @@ case $host_cpu in
then
ALTIVECFLAGS="$ALTIVECFLAGS -faltivec -fastf -mcpu=G4"
else
ALTIVECFLAGS="$ALTIVECFLAGS -maltivec -mabi=altivec"
ALTIVECFLAGS="$ALTIVECFLAGS -maltivec -mabi=altivec -DHAVE_ALTIVEC_H"
fi
;;
sparc)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment